Re: [patch -mmotm] mm: introduce oom_adj_child

From: Paul Menage
Date: Mon Jul 27 2009 - 20:47:45 EST


On Mon, Jul 27, 2009 at 5:45 PM, David Rientjes<rientjes@xxxxxxxxxx> 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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/