* [PATCH] fix cgroup procs documentation @ 2010-04-09 3:11 KAMEZAWA Hiroyuki 2010-04-09 3:22 ` Li Zefan 0 siblings, 1 reply; 5+ messages in thread From: KAMEZAWA Hiroyuki @ 2010-04-09 3:11 UTC (permalink / raw) To: linux-kernel@vger.kernel.org Cc: akpm@linux-foundation.org, linux-mm@kvack.org, menage@google.com, lizf@cn.fujitsu.com, nishimura@mxp.nes.nec.co.jp, stable 2.6.33's Documentation has the same wrong information. So, I CC'ed to stable. If people believe this information, they'll usr cgroup.procs file and will see cgroup doesn'w work as expected. The patch itself is against -mm. == Writing to cgroup.procs is not supported now. Signed-off-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com> --- Documentation/cgroups/cgroups.txt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) Index: mmotm-temp/Documentation/cgroups/cgroups.txt =================================================================== --- mmotm-temp.orig/Documentation/cgroups/cgroups.txt +++ mmotm-temp/Documentation/cgroups/cgroups.txt @@ -235,8 +235,7 @@ containing the following files describin - cgroup.procs: list of tgids in the cgroup. This list is not guaranteed to be sorted or free of duplicate tgids, and userspace should sort/uniquify the list if this property is required. - Writing a tgid into this file moves all threads with that tgid into - this cgroup. + This is a read-only file, now. - notify_on_release flag: run the release agent on exit? - release_agent: the path to use for release notifications (this file exists in the top cgroup only) -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a> ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] fix cgroup procs documentation 2010-04-09 3:11 [PATCH] fix cgroup procs documentation KAMEZAWA Hiroyuki @ 2010-04-09 3:22 ` Li Zefan 2010-04-09 3:20 ` KAMEZAWA Hiroyuki 0 siblings, 1 reply; 5+ messages in thread From: Li Zefan @ 2010-04-09 3:22 UTC (permalink / raw) To: KAMEZAWA Hiroyuki Cc: linux-kernel@vger.kernel.org, akpm@linux-foundation.org, linux-mm@kvack.org, menage@google.com, nishimura@mxp.nes.nec.co.jp, stable KAMEZAWA Hiroyuki wrote: > 2.6.33's Documentation has the same wrong information. So, I CC'ed to stable. > If people believe this information, they'll usr cgroup.procs file and will > see cgroup doesn'w work as expected. > The patch itself is against -mm. > > == > Writing to cgroup.procs is not supported now. > > Signed-off-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com> > --- > Documentation/cgroups/cgroups.txt | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) > > Index: mmotm-temp/Documentation/cgroups/cgroups.txt > =================================================================== > --- mmotm-temp.orig/Documentation/cgroups/cgroups.txt > +++ mmotm-temp/Documentation/cgroups/cgroups.txt > @@ -235,8 +235,7 @@ containing the following files describin > - cgroup.procs: list of tgids in the cgroup. This list is not > guaranteed to be sorted or free of duplicate tgids, and userspace > should sort/uniquify the list if this property is required. > - Writing a tgid into this file moves all threads with that tgid into > - this cgroup. > + This is a read-only file, now. I think the better wording is "for now". :) > - notify_on_release flag: run the release agent on exit? > - release_agent: the path to use for release notifications (this file > exists in the top cgroup only) > -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a> ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] fix cgroup procs documentation 2010-04-09 3:22 ` Li Zefan @ 2010-04-09 3:20 ` KAMEZAWA Hiroyuki 2010-04-09 3:31 ` Li Zefan 0 siblings, 1 reply; 5+ messages in thread From: KAMEZAWA Hiroyuki @ 2010-04-09 3:20 UTC (permalink / raw) To: Li Zefan Cc: linux-kernel@vger.kernel.org, akpm@linux-foundation.org, linux-mm@kvack.org, menage@google.com, nishimura@mxp.nes.nec.co.jp, stable On Fri, 09 Apr 2010 11:22:00 +0800 Li Zefan <lizf@cn.fujitsu.com> wrote: > KAMEZAWA Hiroyuki wrote: > > 2.6.33's Documentation has the same wrong information. So, I CC'ed to stable. > > If people believe this information, they'll usr cgroup.procs file and will > > see cgroup doesn'w work as expected. > > The patch itself is against -mm. > > > > == > > Writing to cgroup.procs is not supported now. > > > > Signed-off-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com> > > --- > > Documentation/cgroups/cgroups.txt | 3 +-- > > 1 file changed, 1 insertion(+), 2 deletions(-) > > > > Index: mmotm-temp/Documentation/cgroups/cgroups.txt > > =================================================================== > > --- mmotm-temp.orig/Documentation/cgroups/cgroups.txt > > +++ mmotm-temp/Documentation/cgroups/cgroups.txt > > @@ -235,8 +235,7 @@ containing the following files describin > > - cgroup.procs: list of tgids in the cgroup. This list is not > > guaranteed to be sorted or free of duplicate tgids, and userspace > > should sort/uniquify the list if this property is required. > > - Writing a tgid into this file moves all threads with that tgid into > > - this cgroup. > > + This is a read-only file, now. > > I think the better wording is "for now". :) > ok. BTW, does anyone work on this ? == Writing to cgroup.procs is not supported now. Signed-off-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com> --- Documentation/cgroups/cgroups.txt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) Index: mmotm-temp/Documentation/cgroups/cgroups.txt =================================================================== --- mmotm-temp.orig/Documentation/cgroups/cgroups.txt +++ mmotm-temp/Documentation/cgroups/cgroups.txt @@ -235,8 +235,7 @@ containing the following files describin - cgroup.procs: list of tgids in the cgroup. This list is not guaranteed to be sorted or free of duplicate tgids, and userspace should sort/uniquify the list if this property is required. - Writing a tgid into this file moves all threads with that tgid into - this cgroup. + This is a read-only file, for now. - notify_on_release flag: run the release agent on exit? - release_agent: the path to use for release notifications (this file exists in the top cgroup only) -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a> ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] fix cgroup procs documentation 2010-04-09 3:20 ` KAMEZAWA Hiroyuki @ 2010-04-09 3:31 ` Li Zefan 2010-04-09 3:48 ` Ben Blum 0 siblings, 1 reply; 5+ messages in thread From: Li Zefan @ 2010-04-09 3:31 UTC (permalink / raw) To: KAMEZAWA Hiroyuki Cc: linux-kernel@vger.kernel.org, akpm@linux-foundation.org, linux-mm@kvack.org, menage@google.com, nishimura@mxp.nes.nec.co.jp, stable, Ben Blum Cc: Ben Blum KAMEZAWA Hiroyuki wrote: > On Fri, 09 Apr 2010 11:22:00 +0800 > Li Zefan <lizf@cn.fujitsu.com> wrote: > >> KAMEZAWA Hiroyuki wrote: >>> 2.6.33's Documentation has the same wrong information. So, I CC'ed to stable. >>> If people believe this information, they'll usr cgroup.procs file and will >>> see cgroup doesn'w work as expected. >>> The patch itself is against -mm. >>> >>> == >>> Writing to cgroup.procs is not supported now. >>> >>> Signed-off-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com> >>> --- >>> Documentation/cgroups/cgroups.txt | 3 +-- >>> 1 file changed, 1 insertion(+), 2 deletions(-) >>> >>> Index: mmotm-temp/Documentation/cgroups/cgroups.txt >>> =================================================================== >>> --- mmotm-temp.orig/Documentation/cgroups/cgroups.txt >>> +++ mmotm-temp/Documentation/cgroups/cgroups.txt >>> @@ -235,8 +235,7 @@ containing the following files describin >>> - cgroup.procs: list of tgids in the cgroup. This list is not >>> guaranteed to be sorted or free of duplicate tgids, and userspace >>> should sort/uniquify the list if this property is required. >>> - Writing a tgid into this file moves all threads with that tgid into >>> - this cgroup. >>> + This is a read-only file, now. >> I think the better wording is "for now". :) >> > ok. BTW, does anyone work on this ? It was Ben Blum, don't know if he's still working on it. > == > > Writing to cgroup.procs is not supported now. > > Signed-off-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com> Acked-by: Li Zefan <lizf@cn.fujitsu.com> > --- > Documentation/cgroups/cgroups.txt | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) > > Index: mmotm-temp/Documentation/cgroups/cgroups.txt > =================================================================== > --- mmotm-temp.orig/Documentation/cgroups/cgroups.txt > +++ mmotm-temp/Documentation/cgroups/cgroups.txt > @@ -235,8 +235,7 @@ containing the following files describin > - cgroup.procs: list of tgids in the cgroup. This list is not > guaranteed to be sorted or free of duplicate tgids, and userspace > should sort/uniquify the list if this property is required. > - Writing a tgid into this file moves all threads with that tgid into > - this cgroup. > + This is a read-only file, for now. > - notify_on_release flag: run the release agent on exit? > - release_agent: the path to use for release notifications (this file > exists in the top cgroup only) > > > -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a> ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] fix cgroup procs documentation 2010-04-09 3:31 ` Li Zefan @ 2010-04-09 3:48 ` Ben Blum 0 siblings, 0 replies; 5+ messages in thread From: Ben Blum @ 2010-04-09 3:48 UTC (permalink / raw) To: Li Zefan Cc: KAMEZAWA Hiroyuki, linux-kernel@vger.kernel.org, akpm@linux-foundation.org, linux-mm@kvack.org, menage@google.com, nishimura@mxp.nes.nec.co.jp, stable, Ben Blum, Oleg Nesterov On Fri, Apr 09, 2010 at 11:31:54AM +0800, Li Zefan wrote: > Cc: Ben Blum > > KAMEZAWA Hiroyuki wrote: > > On Fri, 09 Apr 2010 11:22:00 +0800 > > Li Zefan <lizf@cn.fujitsu.com> wrote: > > > >> KAMEZAWA Hiroyuki wrote: > >>> 2.6.33's Documentation has the same wrong information. So, I CC'ed to stable. > >>> If people believe this information, they'll usr cgroup.procs file and will > >>> see cgroup doesn'w work as expected. > >>> The patch itself is against -mm. > >>> > >>> == > >>> Writing to cgroup.procs is not supported now. > >>> > >>> Signed-off-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com> > >>> --- > >>> Documentation/cgroups/cgroups.txt | 3 +-- > >>> 1 file changed, 1 insertion(+), 2 deletions(-) > >>> > >>> Index: mmotm-temp/Documentation/cgroups/cgroups.txt > >>> =================================================================== > >>> --- mmotm-temp.orig/Documentation/cgroups/cgroups.txt > >>> +++ mmotm-temp/Documentation/cgroups/cgroups.txt > >>> @@ -235,8 +235,7 @@ containing the following files describin > >>> - cgroup.procs: list of tgids in the cgroup. This list is not > >>> guaranteed to be sorted or free of duplicate tgids, and userspace > >>> should sort/uniquify the list if this property is required. > >>> - Writing a tgid into this file moves all threads with that tgid into > >>> - this cgroup. > >>> + This is a read-only file, now. > >> I think the better wording is "for now". :) > >> > > ok. BTW, does anyone work on this ? > > It was Ben Blum, don't know if he's still working on it. Aye. Oleg suggested a redesign of the last patch (putting the lock in signal_struct instead of sighand_struct), but I haven't got time to work on them now. Expect a revision in maybe two months... > > > == > > > > Writing to cgroup.procs is not supported now. > > > > Signed-off-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com> > > Acked-by: Li Zefan <lizf@cn.fujitsu.com> > > > --- > > Documentation/cgroups/cgroups.txt | 3 +-- > > 1 file changed, 1 insertion(+), 2 deletions(-) > > > > Index: mmotm-temp/Documentation/cgroups/cgroups.txt > > =================================================================== > > --- mmotm-temp.orig/Documentation/cgroups/cgroups.txt > > +++ mmotm-temp/Documentation/cgroups/cgroups.txt > > @@ -235,8 +235,7 @@ containing the following files describin > > - cgroup.procs: list of tgids in the cgroup. This list is not > > guaranteed to be sorted or free of duplicate tgids, and userspace > > should sort/uniquify the list if this property is required. > > - Writing a tgid into this file moves all threads with that tgid into > > - this cgroup. > > + This is a read-only file, for now. > > - notify_on_release flag: run the release agent on exit? > > - release_agent: the path to use for release notifications (this file > > exists in the top cgroup only) > > > > > > > -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a> ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2010-04-12 9:52 UTC | newest] Thread overview: 5+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2010-04-09 3:11 [PATCH] fix cgroup procs documentation KAMEZAWA Hiroyuki 2010-04-09 3:22 ` Li Zefan 2010-04-09 3:20 ` KAMEZAWA Hiroyuki 2010-04-09 3:31 ` Li Zefan 2010-04-09 3:48 ` Ben Blum
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).