All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Doc:cgroup:fix a cpuset's file description in cpusets.txt
@ 2011-07-10  8:58 Wanlong Gao
  2011-07-11 16:48 ` Randy Dunlap
  2011-07-11 17:23 ` Paul Menage
  0 siblings, 2 replies; 4+ messages in thread
From: Wanlong Gao @ 2011-07-10  8:58 UTC (permalink / raw)
  To: Paul Menage, Randy Dunlap
  Cc: linux-doc, linux-kernel, Wanlong Gao, Wanlong Gao

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

Signed-off-by: Wanlong Gao <gaowanlong@cn.fujitsu.com>
---
 Documentation/cgroups/cpusets.txt |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/Documentation/cgroups/cpusets.txt b/Documentation/cgroups/cpusets.txt
index 5b0d78e..5c51ed4 100644
--- a/Documentation/cgroups/cpusets.txt
+++ b/Documentation/cgroups/cpusets.txt
@@ -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
-- 
1.7.4.1


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH] Doc:cgroup:fix a cpuset's file description in cpusets.txt
  2011-07-10  8:58 [PATCH] Doc:cgroup:fix a cpuset's file description in cpusets.txt Wanlong Gao
@ 2011-07-11 16:48 ` Randy Dunlap
  2011-07-11 17:23 ` Paul Menage
  1 sibling, 0 replies; 4+ messages in thread
From: Randy Dunlap @ 2011-07-11 16:48 UTC (permalink / raw)
  To: Wanlong Gao; +Cc: Paul Menage, linux-doc, linux-kernel, Wanlong Gao

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.
> 
> Signed-off-by: Wanlong Gao <gaowanlong@cn.fujitsu.com>

Applied.  Thanks.

> ---
>  Documentation/cgroups/cpusets.txt |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/Documentation/cgroups/cpusets.txt b/Documentation/cgroups/cpusets.txt
> index 5b0d78e..5c51ed4 100644
> --- a/Documentation/cgroups/cpusets.txt
> +++ b/Documentation/cgroups/cpusets.txt
> @@ -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 ***

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] Doc:cgroup:fix a cpuset's file description in cpusets.txt
  2011-07-10  8:58 [PATCH] Doc:cgroup:fix a cpuset's file description in cpusets.txt Wanlong Gao
  2011-07-11 16:48 ` Randy Dunlap
@ 2011-07-11 17:23 ` Paul Menage
  2011-07-11 17:45   ` Randy Dunlap
  1 sibling, 1 reply; 4+ messages in thread
From: Paul Menage @ 2011-07-11 17:23 UTC (permalink / raw)
  To: Wanlong Gao; +Cc: Randy Dunlap, linux-doc, linux-kernel, Wanlong Gao

On Sun, Jul 10, 2011 at 1:58 AM, Wanlong Gao <wanlong.gao@gmail.com> wrote:
> Only the root cpuset has cpuset.memory_pressure_enabled flag,
> but not the only one.
>
> Signed-off-by: Wanlong Gao <gaowanlong@cn.fujitsu.com>

Acked-by: Paul Menage <menage@google.com>

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] Doc:cgroup:fix a cpuset's file description in cpusets.txt
  2011-07-11 17:23 ` Paul Menage
@ 2011-07-11 17:45   ` Randy Dunlap
  0 siblings, 0 replies; 4+ messages in thread
From: Randy Dunlap @ 2011-07-11 17:45 UTC (permalink / raw)
  To: Paul Menage; +Cc: Wanlong Gao, linux-doc, linux-kernel, Wanlong Gao

On Mon, 11 Jul 2011 10:23:53 -0700 Paul Menage wrote:

> On Sun, Jul 10, 2011 at 1:58 AM, Wanlong Gao <wanlong.gao@gmail.com> wrote:
> > Only the root cpuset has cpuset.memory_pressure_enabled flag,
> > but not the only one.
> >
> > Signed-off-by: Wanlong Gao <gaowanlong@cn.fujitsu.com>
> 
> Acked-by: Paul Menage <menage@google.com>

Thanks.

> 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 ***

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-07-11 17:45 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-07-10  8:58 [PATCH] Doc:cgroup:fix a cpuset's file description in cpusets.txt Wanlong Gao
2011-07-11 16:48 ` Randy Dunlap
2011-07-11 17:23 ` Paul Menage
2011-07-11 17:45   ` Randy Dunlap

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.