Skip to contentSkip to conversation

Doc:cgroup:fix a cpuset's file description in cpusets.txt

PATCH Applied Wanlong Gao 3 participants 4 messages Jul 10, 2011 – Jul 11, 2011 Documentation

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Doc:cgroup:fix a cpuset's file description in cpusets.txt

Only the root cpuset has cpuset.memory_pressure_enabled flag, but not the only one.

---
 Documentation/cgroups/cpusets.txt |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
Documentation/cgroups/cpusets.txt +1 -1
index 5b0d78e..5c51ed4 100644
@@ -180,7 +180,7 @@ files describing that cpuset:
  - cpuset.sched_load_balance flag: if set, load balance within CPUs on that cpuset
  - cpuset.sched_relax_domain_level: the searching range when migrating tasks
 
-In addition, the root cpuset only has the following file:
+In addition, only the root cpuset has the following file:
  - cpuset.memory_pressure_enabled flag: compute memory_pressure?
 
 New cpusets are created using the mkdir system call or shell
Signature · 1 line
1.7.4.1
Applied
#1 lore raw
Quoted 4 lines · On Sun, 10 Jul 2011 16:58:33 +0800 Wanlong Gao wrote:

Only the root cpuset has cpuset.memory_pressure_enabled flag, but not the only one.

Applied. Thanks.

Quoted 10 lines
---
 Documentation/cgroups/cpusets.txt |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
Documentation/cgroups/cpusets.txt +0 -0
index 5b0d78e..5c51ed4 100644

Documentation/cgroups/cpusets.txt files describing that cpuset: · line 186

Quoted 8 lines
Documentation/cgroups/cpusets.txt +1 -1
@@ -180,7 +180,7 @@ files describing that cpuset:
  - cpuset.sched_load_balance flag: if set, load balance within CPUs on that cpuset
  - cpuset.sched_relax_domain_level: the searching range when migrating tasks
 
-In addition, the root cpuset only has the following file:
+In addition, only the root cpuset has the following file:
  - cpuset.memory_pressure_enabled flag: compute memory_pressure?
 
 New cpusets are created using the mkdir system call or shell

---
~Randy
*** Remember to use Documentation/SubmitChecklist when testing your code ***

Acked-by on v1 1/1
#2 lore raw
In reply to Wanlong Gao
Quoted 4 lines · Wanlong Gao

Only the root cpuset has cpuset.memory_pressure_enabled flag, but not the only one.

The original was actually correct English, when parsed as "(the root cpuset only) (has the following file)", but I guess ambiguous. I'd be inclined to just remove the word "only", since it's unnecessary in its new location.

Paul

#3 lore raw
Quoted 7 lines · On Mon, 11 Jul 2011 10:23:53 -0700 Paul Menage wrote:
Quoted 4 lines · Wanlong Gao

Only the root cpuset has cpuset.memory_pressure_enabled flag, but not the only one.

Thanks.

Quoted 4 lines

The original was actually correct English, when parsed as "(the root cpuset only) (has the following file)", but I guess ambiguous. I'd be inclined to just remove the word "only", since it's unnecessary in its new location.

Yes, it's ambiguous and/or too restrictive.
Yes, we could just drop the word "only".

---
~Randy
*** Remember to use Documentation/SubmitChecklist when testing your code ***