[PATCH 16/31] x86, mm: simplify get_user_pages() PTE bit handling

2016-01-29 Thread Dave Hansen
From: Dave Hansen The current get_user_pages() code is a wee bit more complicated than it needs to be for pte bit checking. Currently, it establishes a mask of required pte _PAGE_* bits and ensures that the pte it goes after has all those bits. This consolidates the three identical copies of

[PATCH 16/31] x86, mm: simplify get_user_pages() PTE bit handling

2016-01-29 Thread Dave Hansen
From: Dave Hansen The current get_user_pages() code is a wee bit more complicated than it needs to be for pte bit checking. Currently, it establishes a mask of required pte _PAGE_* bits and ensures that the pte it goes after has all those bits. This consolidates

[PATCH 16/31] x86, mm: simplify get_user_pages() PTE bit handling

2016-01-06 Thread Dave Hansen
From: Dave Hansen The current get_user_pages() code is a wee bit more complicated than it needs to be for pte bit checking. Currently, it establishes a mask of required pte _PAGE_* bits and ensures that the pte it goes after has all those bits. This consolidates the three identical copies of

[PATCH 16/31] x86, mm: simplify get_user_pages() PTE bit handling

2016-01-06 Thread Dave Hansen
From: Dave Hansen The current get_user_pages() code is a wee bit more complicated than it needs to be for pte bit checking. Currently, it establishes a mask of required pte _PAGE_* bits and ensures that the pte it goes after has all those bits. This consolidates