summaryrefslogtreecommitdiff
path: root/Documentation/ABI/removed
diff options
context:
space:
mode:
authorWang Long <w@laoqinren.net>2020-02-07 21:42:10 +0800
committerJonathan Corbet <corbet@lwn.net>2020-02-13 11:39:36 -0700
commit3b82a112ce594889742164b242d8f213938a443f (patch)
treea60fb78904dd49acd0588cb30ba2e5eee5563ff9 /Documentation/ABI/removed
parent895f2c20a88a343d12c387dab9d785ff665cb4ac (diff)
Documentation/ABI: move sysfs-kernel-uids to removed directory
commit 7c9414385ebf ("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>
Diffstat (limited to 'Documentation/ABI/removed')
-rw-r--r--Documentation/ABI/removed/sysfs-kernel-uids14
1 files changed, 14 insertions, 0 deletions
diff --git a/Documentation/ABI/removed/sysfs-kernel-uids b/Documentation/ABI/removed/sysfs-kernel-uids
new file mode 100644
index 000000000000..dc4463f190a7
--- /dev/null
+++ b/Documentation/ABI/removed/sysfs-kernel-uids
@@ -0,0 +1,14 @@
+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