diff options
author | Dhaval Giani <dhaval@linux.vnet.ibm.com> | 2007-12-12 00:48:59 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2007-12-17 13:33:19 -0500 |
commit | 0594fe069df5a10686a3b923b36a0e7a6aed2393 (patch) | |
tree | d9d465951c8895b1a570dff6b063a668e8da93be /Documentation/ABI | |
parent | e11d044efdd2e5c837c4d470fc447b49a9aebfe1 (diff) |
Add Documentation for FAIR_USER_SCHED sysfs files
This patch adds documentation about /sys/kernel/uids/<uid>/cpu_share
to Documentation/ABI.
Signed-off-by: Dhaval Giani <dhaval@linux.vnet.ibm.com>
Cc: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'Documentation/ABI')
-rw-r--r-- | Documentation/ABI/testing/sysfs-kernel-uids | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/Documentation/ABI/testing/sysfs-kernel-uids b/Documentation/ABI/testing/sysfs-kernel-uids new file mode 100644 index 000000000000..648d65dbc0e7 --- /dev/null +++ b/Documentation/ABI/testing/sysfs-kernel-uids | |||
@@ -0,0 +1,14 @@ | |||
1 | What: /sys/kernel/uids/<uid>/cpu_shares | ||
2 | Date: December 2007 | ||
3 | Contact: Dhaval Giani <dhaval@linux.vnet.ibm.com> | ||
4 | Srivatsa Vaddagiri <vatsa@linux.vnet.ibm.com> | ||
5 | Description: | ||
6 | The /sys/kernel/uids/<uid>/cpu_shares tunable is used | ||
7 | to set the cpu bandwidth a user is allowed. This is a | ||
8 | propotional value. What that means is that if there | ||
9 | are two users logged in, each with an equal number of | ||
10 | shares, then they will get equal CPU bandwidth. Another | ||
11 | example would be, if User A has shares = 1024 and user | ||
12 | B has shares = 2048, User B will get twice the CPU | ||
13 | bandwidth user A will. For more details refer | ||
14 | Documentation/sched-design-CFS.txt | ||