mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-26 10:49:33 +00:00
![Mauro Carvalho Chehab](/assets/img/avatar_default.png)
In order to prepare to add them to the Kernel API book, convert the files to ReST format. The conversion is actually: - add blank lines and identation in order to identify paragraphs; - fix tables markups; - add some lists markups; - mark literal blocks; - adjust title markups. At its new index.rst, let's add a :orphan: while this is not linked to the main index.rst file, in order to avoid build warnings. Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org> Signed-off-by: Jonathan Corbet <corbet@lwn.net>
14 lines
658 B
Text
14 lines
658 B
Text
What: /sys/kernel/uids/<uid>/cpu_shares
|
|
Date: December 2007
|
|
Contact: Dhaval Giani <dhaval@linux.vnet.ibm.com>
|
|
Srivatsa Vaddagiri <vatsa@linux.vnet.ibm.com>
|
|
Description:
|
|
The /sys/kernel/uids/<uid>/cpu_shares tunable is used
|
|
to set the cpu bandwidth a user is allowed. This is a
|
|
propotional value. What that means is that if there
|
|
are two users logged in, each with an equal number of
|
|
shares, then they will get equal CPU bandwidth. Another
|
|
example would be, if User A has shares = 1024 and user
|
|
B has shares = 2048, User B will get twice the CPU
|
|
bandwidth user A will. For more details refer
|
|
Documentation/scheduler/sched-design-CFS.rst
|