[Devel] Re: [PATCH 14/38] Remove struct mm_struct::exe_file et al

Andrew Morton akpm at linux-foundation.org
Sun May 31 15:19:53 PDT 2009


On Mon, 1 Jun 2009 01:54:27 +0400 Alexey Dobriyan <adobriyan at gmail.com> 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".
_______________________________________________
Containers mailing list
Containers at lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/containers




More information about the Devel mailing list