Re: [PATCH sched-devel] Generate uevents for user creation/destruction

2007-10-10 Thread Ingo Molnar
* Srivatsa Vaddagiri <[EMAIL PROTECTED]> wrote: > > Shouldn't that be done via uevents? E.g. UID x gets added to the > > sysfs tree, generates a uevent and a script then figures out the > > cpu_share and sets it. That way you also don't need to keep the > > directories. No? > > Heiko, >

[PATCH sched-devel] Generate uevents for user creation/destruction

2007-10-09 Thread Srivatsa Vaddagiri
On Thu, Oct 04, 2007 at 10:54:51AM +0200, Heiko Carstens wrote: > > i'm wondering about the following: could not (yet) existing UIDs be made > > configurable too? I.e. if i do this in a bootup script: > > > > echo 2048 > /sys/kernel/uids/500/cpu_share > > > > this should just work too, regardl