2020-02-07 13:44:29

by Wang Long

[permalink] [raw]
Subject: [PATCH] Documentation/ABI: move sysfs-kernel-uids to removed dirtory

commit 7c9414385ebf ("sched: Remove USER_SCHED") delete the
USER_SCHED feature. so move the ABI doc to removed dirtory.

Signed-off-by: Wang Long <[email protected]>
---
Documentation/ABI/removed/sysfs-kernel-uids | 14 ++++++++++++++
Documentation/ABI/testing/sysfs-kernel-uids | 14 --------------
2 files changed, 14 insertions(+), 14 deletions(-)
create mode 100644 Documentation/ABI/removed/sysfs-kernel-uids
delete mode 100644 Documentation/ABI/testing/sysfs-kernel-uids

diff --git a/Documentation/ABI/removed/sysfs-kernel-uids b/Documentation/ABI/removed/sysfs-kernel-uids
new file mode 100644
index 0000000..dc4463f
--- /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 <[email protected]>
+ Srivatsa Vaddagiri <[email protected]>
+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
diff --git a/Documentation/ABI/testing/sysfs-kernel-uids b/Documentation/ABI/testing/sysfs-kernel-uids
deleted file mode 100644
index 4182b70..0000000
--- a/Documentation/ABI/testing/sysfs-kernel-uids
+++ /dev/null
@@ -1,14 +0,0 @@
-What: /sys/kernel/uids/<uid>/cpu_shares
-Date: December 2007
-Contact: Dhaval Giani <[email protected]>
- Srivatsa Vaddagiri <[email protected]>
-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
--
1.8.3.1




2020-02-13 18:41:55

by Jonathan Corbet

[permalink] [raw]
Subject: Re: [PATCH] Documentation/ABI: move sysfs-kernel-uids to removed dirtory

On Fri, 7 Feb 2020 21:42:10 +0800
Wang Long <[email protected]> wrote:

> commit 7c9414385ebf ("sched: Remove USER_SCHED") delete the
> USER_SCHED feature. so move the ABI doc to removed dirtory.
>
> Signed-off-by: Wang Long <[email protected]>

After ten years, we can probably do that, yes :)

Applied, thanks.

jon