Re: __vm_enough_memory(), OVERCOMMIT_NEVER, current->mm, kernel thread

From: hooanon05
Date: Wed Oct 22 2008 - 08:46:55 EST

Alan Cox:
> This is the patch I propose:
> We could simply check for NULL and skip the modifier but we've caught other
> real bugs in the past from mm being NULL here - cases where we did need a
> valid mm set up (eg the exec bug about a year ago).

I didn't know there was an actual bug but now I understand why you want
to insert WARN_ON().

I have nothing to say about your patch.

Thank you
Junjiro R. Okajima
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