Re: [PATCH] Fix mlockall for PROT_NONE mappings

From: Andi Kleen
Date: Thu Oct 09 2003 - 09:52:58 EST


On Thu, Oct 09, 2003 at 07:44:08AM -0700, Linus Torvalds wrote:
>
> This is too ugly for words.
>
> Just make mlockall() ignore any mappings that are not readable.

That is exactly what the patch is doing.

It has just to pass this information down to get_user_pages to make mlock()
not ignore them too.

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