Messages in this thread | | | Date | Sun, 31 May 2009 15:19:53 -0700 | From | Andrew Morton <> | Subject | Re: [PATCH 14/38] Remove struct mm_struct::exe_file et al |
| |
On Mon, 1 Jun 2009 01:54:27 +0400 Alexey Dobriyan <adobriyan@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".
| |