Re: fix __exit_mm() dereference before check.

From: Dave Jones
Date: Fri Apr 16 2004 - 17:28:34 EST


On Fri, Apr 16, 2004 at 03:01:32PM -0700, Linus Torvalds wrote:

> The mm->mm_users check is protected by "tsk->clear_child_tid", and that
> will have been cleared already if we ever happen to call __exit_mm()
> twice, so that one is safe.

Yes, I missed this.

> So this patch might be a cleanup, but not a "fix" per se.

ACK.

Dave

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