From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrew Morton Subject: Re: [PATCH 14/38] Remove struct mm_struct::exe_file et al Date: Sun, 31 May 2009 15:19:53 -0700 Message-ID: <20090531151953.8f8b14b5.akpm@linux-foundation.org> References: <20090526113618.GJ28083@us.ibm.com> <20090526162415.fb9cefef.akpm@linux-foundation.org> <20090531215427.GA29534@x200.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20090531215427.GA29534-2ev+ksY9ol182hYKe6nXyg@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: containers-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org Errors-To: containers-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org To: Alexey Dobriyan Cc: xemul-bzQdu9zFT3WakBO8gow8eQ@public.gmane.org, containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, dave-23VcF4HTsmIX0ybBhKVfKdBPR1lH4CV8@public.gmane.org, mingo-X9Un+BFzKDI@public.gmane.org, torvalds-de/tnXTf+JLsfHDXvbKv3WD2FQJk+8+b@public.gmane.org List-Id: containers.vger.kernel.org On Mon, 1 Jun 2009 01:54:27 +0400 Alexey Dobriyan wrote: > And BTW, there is something unnatural when executable path is attached > to mm_struct(!) not task_struct, mm_struct is the central object for a heavyweight process. All threads within that process share the same executable path (don't they?) so attaching the executable path to the mm seems OK to me. What I always find a bit weird is that an MM container is used as the central point for a number of sched obects. But it's logical, given that the never-before-stated definition of a heavyweight process is "thing which share a VM".