mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-15 23:14:31 +08:00
3b82a112ce
commit 7c9414385e
("sched: Remove USER_SCHED") deleted the
USER_SCHED feature. so move the ABI doc to removed directory.
Signed-off-by: Wang Long <w@laoqinren.net>
Link: https://lore.kernel.org/r/1581082930-30441-1-git-send-email-w@laoqinren.net
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
15 lines
697 B
Plaintext
15 lines
697 B
Plaintext
What: /sys/kernel/uids/<uid>/cpu_shares
|
|
Date: December 2007, finally removed in kernel v2.6.34-rc1
|
|
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
|