Re: task_struct.mm == NULL

From: Andi Kleen (ak@suse.de)
Date: Wed Nov 28 2001 - 07:23:20 EST


Frank Cornelis <Frank.Cornelis@rug.ac.be> writes:

> Hey,
>
> I found in some code checks for task_struct.mm being NULL.
> When can task_struct.mm of a process be NULL except right before the
> process-kill?

For kernel threads that run in lazy-mm mode. It allows a much cheaper context
switch into kernel threads.

-Andi
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Fri Nov 30 2001 - 21:00:30 EST