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

From: Andrew Morton
Date: Sun May 31 2009 - 18:20:31 EST

On Mon, 1 Jun 2009 01:54:27 +0400 Alexey Dobriyan <adobriyan@xxxxxxxxx> 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".
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at