Re: [RFC][PATCH 0/7] Resource controllers based on process containers

From: Pavel Emelianov
Date: Wed Mar 07 2007 - 02:27:42 EST


Paul Menage wrote:
> On 3/6/07, Pavel Emelianov <xemul@xxxxx> wrote:
>> 2. Extended containers may register themselves too late.
>> Kernel threads/helpers start forking, opening files
>> and touching pages much earlier. This patchset
>> workarounds this in not-so-cute manner and I'm waiting
>> for Paul's comments on this issue.
>>
>
> Can we not make sure that each subsystem registers itself before any
> of its resources become usable? So the file counting subsystem should

Actually all the subsystems I've sent became usable very early.
Much earlier that initcalls started. I didn't found where exactly
but I can make it if we really need it.

> register at some point before filp_open() becomes usable, and the
> process counting subsystem should register before it's possible to
> fork, etc.
>
> 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/