mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Paul Menage <menage@google.com>
To: David Rientjes <rientjes@google.com>
Cc: Andrew Morton <akpm@linux-foundation.org>,
	Rik van Riel <riel@redhat.com>,
	KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>,
	linux-kernel@vger.kernel.org
Subject: Re: [patch -mmotm] mm: introduce oom_adj_child
Date: Mon, 27 Jul 2009 17:47:35 -0700	[thread overview]
Message-ID: <6599ad830907271747v578fb78cna2d43856f8fba7c@mail.gmail.com> (raw)
In-Reply-To: <alpine.DEB.2.00.0907271739230.29815@chino.kir.corp.google.com>

On Mon, Jul 27, 2009 at 5:45 PM, David Rientjes<rientjes@google.com> wrote:
> On Mon, 27 Jul 2009, Paul Menage wrote:
>
>> > Ok, we can allow oom_adj_child to be less than oom_adj for
>> > CAP_SYS_RESOURCE.
>>
>> Sounds fine to me, since you already need CAP_SYS_RESOURCE to set
>> oom_adj anyway. But actually, shouldn't you just be requiring
>> CAP_SYS_RESOURCE to set oom_adj_child at all?
>>
>
> Tasks can elevate their own oom_adj value without that capability.

OK, I see that changed since 2.6.18.

Paul

      reply	other threads:[~2009-07-28  0:47 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-26 21:50 David Rientjes
2009-07-27 23:48 ` Paul Menage
2009-07-28  0:10   ` David Rientjes
2009-07-28  0:30     ` Paul Menage
2009-07-28  0:45       ` David Rientjes
2009-07-28  0:47         ` Paul Menage [this message]

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=6599ad830907271747v578fb78cna2d43856f8fba7c@mail.gmail.com \
    --to=menage@google.com \
    --cc=akpm@linux-foundation.org \
    --cc=kosaki.motohiro@jp.fujitsu.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=riel@redhat.com \
    --cc=rientjes@google.com \
    /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®