Re: weirdness with ->mm vs ->active_mm handling

Alexander Viro (viro@math.psu.edu)
Thu, 29 Aug 2002 19:45:49 -0400 (EDT)


On Thu, 29 Aug 2002, Benjamin LaHaise wrote:

> Hello,
>
> In trying to track down a bug, I found routines like generic_file_read
> getting called with current->mm == NULL. This seems to be a valid state
> for lazy tlb tasks, but the code throughout the kernel doesn't seem to
> assume that.

Lazy-TLB == "promise not to use a lot of stuff in the kernel". In particular,
any page fault in that state is a bug.

-
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/