mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Andrew Morton <akpm@linux-foundation.org>
To: "Григорий Резников" <grikukan@mail.ru>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [PATCH] Adding support of RLIMIT_CPUNS
Date: Thu, 17 Aug 2017 12:49:45 -0700	[thread overview]
Message-ID: <20170817124945.18eae3c539a87b6789d6013b@linux-foundation.org> (raw)
In-Reply-To: <1502999145.913410989@f459.i.mail.ru>

On Thu, 17 Aug 2017 22:45:45 +0300 ________________ ________________ <grikukan@mail.ru> 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.

  reply	other threads:[~2017-08-17 19:49 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-08-17 19:45 Григорий Резников
2017-08-17 19:49 ` Andrew Morton [this message]
2017-08-18 11:46 ` Michal Hocko

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170817124945.18eae3c539a87b6789d6013b@linux-foundation.org \
    --to=akpm@linux-foundation.org \
    --cc=grikukan@mail.ru \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®