Re: [PATCH] Adding support of RLIMIT_CPUNS

From: Andrew Morton
Date: Thu Aug 17 2017 - 15:49:50 EST


On Thu, 17 Aug 2017 22:45:45 +0300 ________________ ________________ <grikukan@xxxxxxx> wrote:

> To set time limit for process now we can use RLIMIT_CPU.
> However, it has precision up to one second and it can be
> too big for some purposes.
>
> This patch adds support of RLIMIT_CPUNS, which works
> almost as RLIMIT_CPU, but has nanosecond precision.
>
> At the moment, RLIMIT_CPU and RLIMIT_CPUNS are two
> independent values, because I don't see any nice way
> for them to be together.

We'll need to hear much, much more about "for some purposes", please.
What are the use cases, why are they important, who will benefit from
this and in what ways, etc? How will this change benefit our users?

Presenting this material is critical, so please spend time over it.