From mboxrd@z Thu Jan 1 00:00:00 1970 From: Paul Jackson Subject: Re: [PATCH 03/33] task containersv11 add tasks file interface Date: Wed, 3 Oct 2007 19:55:03 -0700 Message-ID: <20071003195503.56287e60.pj@sgi.com> References: <20070917210307.116234000@menage.corp.google.com> <20070917210426.579524000@menage.corp.google.com> <20071003010923.c606c176.pj@sgi.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20071003010923.c606c176.pj@sgi.com> Sender: linux-kernel-owner@vger.kernel.org To: menage@google.com Cc: nickpiggin@yahoo.com.au, a.p.zijlstra@chello.nl, linux-kernel@vger.kernel.org, clg@fr.ibm.com, ebiederm@xmission.com, rientjes@google.com, containers@lists.osdl.org, balbir@linux.vnet.ibm.com, akpm@linuxfoundation.org, xemul@openvz.org List-Id: containers.vger.kernel.org One more cgroup code review detail ... The following is evidence of some more stale comments in kernel/cpuset.c. Some routines which used to be in that file, but which are now reimplemented in cgroups, are still named in cpuset.c comments: $ grep -E 'cpuset_rmdir|cpuset_exit|cpuset_fork' kernel/cpuset.c * knows that the cpuset won't be removed, as cpuset_rmdir() needs * The fork and exit callbacks cpuset_fork() and cpuset_exit(), don't * critical pieces of code here. The exception occurs on cpuset_exit(), * the_top_cpuset_hack in cpuset_exit(), which sets an exiting tasks The downside of my writing too many comments ... its more of a maintenance burden on those changing the code ;). -- I won't rest till it's the best ... Programmer, Linux Scalability Paul Jackson 1.925.600.0401