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

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Ingo Molnar
Date: Thursday, October 4, 2007 - 12:57 am

* Dhaval Giani <dhaval@linux.vnet.ibm.com> wrote:



thanks - I have added this to the queue.

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, regardless of there not being any UID 500 
tasks yet. Likewise, once configured, the /sys/kernel/uids/* directories 
(with the settings in them) should probably not go away either.

	Ingo
-
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, 8:32 am)
Re: [RFC/PATCH] Add sysfs control to modify a user's cpu share, Srivatsa Vaddagiri, (Mon Oct 1, 9:37 am)
Re: [RFC/PATCH] Add sysfs control to modify a user's cpu share, Srivatsa Vaddagiri, (Tue Oct 2, 9:09 pm)
Re: [RFC/PATCH -v2] Add sysfs control to modify a user's c ..., Ingo Molnar, (Thu Oct 4, 12:57 am)
Re: [RFC/PATCH -v2] Add sysfs control to modify a user's c ..., Srivatsa Vaddagiri, (Thu Oct 4, 10:20 am)
Re: [RFC/PATCH -v2] Add sysfs control to modify a user's c ..., Srivatsa Vaddagiri, (Fri Oct 5, 12:01 am)
[PATCH sched-devel] Generate uevents for user creation/des ..., Srivatsa Vaddagiri, (Tue Oct 9, 8:12 am)