* [PATCH] trivial: Give the right path in Documentation example
@ 2009-02-02 22:39 Thadeu Lima de Souza Cascardo
2009-02-03 1:30 ` KAMEZAWA Hiroyuki
0 siblings, 1 reply; 3+ messages in thread
From: Thadeu Lima de Souza Cascardo @ 2009-02-02 22:39 UTC (permalink / raw)
To: linux-kernel; +Cc: trivial, kamezawa.hiroyu, Thadeu Lima de Souza Cascardo
While the Documentation example creates /cgroup/test, it removes
/test/cgroup, which is clearly not the intended path. Change that to
/cgroup/test.
Signed-off-by: Thadeu Lima de Souza Cascardo <cascardo@holoscopio.com>
---
Documentation/cgroups/memcg_test.txt | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Documentation/cgroups/memcg_test.txt b/Documentation/cgroups/memcg_test.txt
index 523a9c1..a926359 100644
--- a/Documentation/cgroups/memcg_test.txt
+++ b/Documentation/cgroups/memcg_test.txt
@@ -356,7 +356,7 @@ Under below explanation, we assume CONFIG_MEM_RES_CTRL_SWAP=y.
(Shell-B)
# move all tasks in /cgroup/test to /cgroup
# /sbin/swapoff -a
- # rmdir /test/cgroup
+ # rmdir /cgroup/test
# kill malloc task.
Of course, tmpfs v.s. swapoff test should be tested, too.
--
1.6.0.6
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] trivial: Give the right path in Documentation example
2009-02-02 22:39 [PATCH] trivial: Give the right path in Documentation example Thadeu Lima de Souza Cascardo
@ 2009-02-03 1:30 ` KAMEZAWA Hiroyuki
2009-02-03 10:57 ` Jiri Kosina
0 siblings, 1 reply; 3+ messages in thread
From: KAMEZAWA Hiroyuki @ 2009-02-03 1:30 UTC (permalink / raw)
To: Thadeu Lima de Souza Cascardo; +Cc: linux-kernel, trivial
On Mon, 2 Feb 2009 20:39:36 -0200
Thadeu Lima de Souza Cascardo <cascardo@holoscopio.com> wrote:
> While the Documentation example creates /cgroup/test, it removes
> /test/cgroup, which is clearly not the intended path. Change that to
> /cgroup/test.
>
Ah, thanks.
Acked-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
> Signed-off-by: Thadeu Lima de Souza Cascardo <cascardo@holoscopio.com>
> ---
> Documentation/cgroups/memcg_test.txt | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/Documentation/cgroups/memcg_test.txt b/Documentation/cgroups/memcg_test.txt
> index 523a9c1..a926359 100644
> --- a/Documentation/cgroups/memcg_test.txt
> +++ b/Documentation/cgroups/memcg_test.txt
> @@ -356,7 +356,7 @@ Under below explanation, we assume CONFIG_MEM_RES_CTRL_SWAP=y.
> (Shell-B)
> # move all tasks in /cgroup/test to /cgroup
> # /sbin/swapoff -a
> - # rmdir /test/cgroup
> + # rmdir /cgroup/test
> # kill malloc task.
>
> Of course, tmpfs v.s. swapoff test should be tested, too.
> --
> 1.6.0.6
>
>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] trivial: Give the right path in Documentation example
2009-02-03 1:30 ` KAMEZAWA Hiroyuki
@ 2009-02-03 10:57 ` Jiri Kosina
0 siblings, 0 replies; 3+ messages in thread
From: Jiri Kosina @ 2009-02-03 10:57 UTC (permalink / raw)
To: KAMEZAWA Hiroyuki; +Cc: Thadeu Lima de Souza Cascardo, linux-kernel, trivial
On Tue, 3 Feb 2009, KAMEZAWA Hiroyuki wrote:
> > While the Documentation example creates /cgroup/test, it removes
> > /test/cgroup, which is clearly not the intended path. Change that to
> > /cgroup/test.
> Acked-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
> > Signed-off-by: Thadeu Lima de Souza Cascardo <cascardo@holoscopio.com>
> > ---
> > Documentation/cgroups/memcg_test.txt | 2 +-
> > 1 files changed, 1 insertions(+), 1 deletions(-)
> >
> > diff --git a/Documentation/cgroups/memcg_test.txt b/Documentation/cgroups/memcg_test.txt
> > index 523a9c1..a926359 100644
> > --- a/Documentation/cgroups/memcg_test.txt
> > +++ b/Documentation/cgroups/memcg_test.txt
> > @@ -356,7 +356,7 @@ Under below explanation, we assume CONFIG_MEM_RES_CTRL_SWAP=y.
> > (Shell-B)
> > # move all tasks in /cgroup/test to /cgroup
> > # /sbin/swapoff -a
> > - # rmdir /test/cgroup
> > + # rmdir /cgroup/test
> > # kill malloc task.
> >
> > Of course, tmpfs v.s. swapoff test should be tested, too.
Applied to trivial tree, thanks guys.
--
Jiri Kosina
SUSE Labs
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2009-02-03 10:58 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-02-02 22:39 [PATCH] trivial: Give the right path in Documentation example Thadeu Lima de Souza Cascardo
2009-02-03 1:30 ` KAMEZAWA Hiroyuki
2009-02-03 10:57 ` Jiri Kosina
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®