From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail144.messagelabs.com (mail144.messagelabs.com [216.82.254.51]) by kanga.kvack.org (Postfix) with SMTP id EE3216B01F9 for ; Thu, 8 Apr 2010 23:15:33 -0400 (EDT) Received: from m6.gw.fujitsu.co.jp ([10.0.50.76]) by fgwmail6.fujitsu.co.jp (Fujitsu Gateway) with ESMTP id o393FVah017631 for (envelope-from kamezawa.hiroyu@jp.fujitsu.com); Fri, 9 Apr 2010 12:15:32 +0900 Received: from smail (m6 [127.0.0.1]) by outgoing.m6.gw.fujitsu.co.jp (Postfix) with ESMTP id A6DF445DE4E for ; Fri, 9 Apr 2010 12:15:31 +0900 (JST) Received: from s6.gw.fujitsu.co.jp (s6.gw.fujitsu.co.jp [10.0.50.96]) by m6.gw.fujitsu.co.jp (Postfix) with ESMTP id 8CB7845DE4C for ; Fri, 9 Apr 2010 12:15:31 +0900 (JST) Received: from s6.gw.fujitsu.co.jp (localhost.localdomain [127.0.0.1]) by s6.gw.fujitsu.co.jp (Postfix) with ESMTP id 736BA1DB8013 for ; Fri, 9 Apr 2010 12:15:31 +0900 (JST) Received: from m108.s.css.fujitsu.com (m108.s.css.fujitsu.com [10.249.87.108]) by s6.gw.fujitsu.co.jp (Postfix) with ESMTP id 2E4BB1DB8015 for ; Fri, 9 Apr 2010 12:15:31 +0900 (JST) Date: Fri, 9 Apr 2010 12:11:43 +0900 From: KAMEZAWA Hiroyuki Subject: [PATCH] fix cgroup procs documentation Message-Id: <20100409121143.9610dc8f.kamezawa.hiroyu@jp.fujitsu.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-linux-mm@kvack.org 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@kernel.org List-ID: 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 --- 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: email@kvack.org