On Mon, Oct 01, 2007 at 07:34:54PM +0530, Dhaval Giani wrote: > Hi Ingo, > > Adds tunables in sysfs to modify a user's cpu share. > > A directory is created in sysfs for each new user in the system. > > /sys/kernel/uids/<uid>/cpu_share > > Reading this file returns the cpu shares granted for the user. > Writing into this file modifies the cpu share for the user. Only an > administrator is allowed to modify a user's cpu share. > > Ex: > # cd /sys/kernel/uids/ > # cat 512/cpu_share > 1024 > # echo 2048 > 512/cpu_share > # cat 512/cpu_share > 2048 > # Can we start adding stuff to Documentation/ for new files created in sysfs ? There's so much undocumented stuff in there now that it's unfunny. A great start would be 'wtf is a cpu_share and why would I want to change it' ? Dave -- http://www.codemonkey.org.uk -
| Andrea Arcangeli | [PATCH 00 of 12] mmu notifier #v13 |
| David Newall | Re: What still uses the block layer? |
| Greg Kroah-Hartman | [PATCH 001/196] Chinese: Add the known_regression URI to the HOWTO |
| Konrad Rzeszutek | [PATCH] Add iSCSI iBFT support (v0.4.5) |
git: | |
| Gerrit Renker | [PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side) |
| David Miller | Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
| Stefan Richter | Re: [GIT]: Networking |
| Antonio Almeida | HTB accuracy for high speed |
