Re: [PATCH 05/11] Add get_user_pages() variant that fails if major fault is required.

2009-11-02 Thread Rik van Riel
On 11/01/2009 06:56 AM, Gleb Natapov wrote: This patch add get_user_pages() variant that only succeeds if getting a reference to a page doesn't require major fault. Signed-off-by: Gleb Natapov Reviewed-by: Rik van Riel -- All rights reversed. -- To unsubscribe from this list: send the line "

[PATCH 05/11] Add get_user_pages() variant that fails if major fault is required.

2009-11-01 Thread Gleb Natapov
This patch add get_user_pages() variant that only succeeds if getting a reference to a page doesn't require major fault. Signed-off-by: Gleb Natapov --- fs/ncpfs/mmap.c|2 ++ include/linux/mm.h |5 + mm/filemap.c |3 +++ mm/memory.c| 31 +++