Re: [RFC/PATCH -v2] Add sysfs control to modify a user's cpu share

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Ingo Molnar <mingo@...>
Cc: Dhaval Giani <dhaval@...>, Srivatsa Vaddagiri <vatsa@...>, Mike Galbraith <efault@...>, Peter Zijlstra <a.p.zijlstra@...>, Dmitry Adamushko <dmitry.adamushko@...>, lkml <linux-kernel@...>, <maneesh@...>, Andrew Morton <akpm@...>, Sudhir Kumar <skumar@...>
Date: Thursday, October 4, 2007 - 4:54 am

> > Changelog since v1:

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?
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [RFC/PATCH] Add sysfs control to modify a user's cpu share, Srivatsa Vaddagiri, (Mon Oct 1, 12:37 pm)
Re: [RFC/PATCH -v2] Add sysfs control to modify a user's cpu..., Heiko Carstens, (Thu Oct 4, 4:54 am)
[PATCH sched-devel] Generate uevents for user creation/destr..., Srivatsa Vaddagiri, (Tue Oct 9, 11:12 am)
Re: [RFC/PATCH -v2] Add sysfs control to modify a user's cpu..., Srivatsa Vaddagiri, (Fri Oct 5, 3:01 am)
Re: [RFC/PATCH -v2] Add sysfs control to modify a user's cpu..., Srivatsa Vaddagiri, (Thu Oct 4, 1:20 pm)
Re: [RFC/PATCH] Add sysfs control to modify a user's cpu share, Srivatsa Vaddagiri, (Wed Oct 3, 12:09 am)
Re: [RFC/PATCH] Add sysfs control to modify a user's cpu share, Srivatsa Vaddagiri, (Mon Oct 1, 11:32 am)