Re: [PATCH V3] selftests/vm: Add tests validating mremap mirror functionality

2017-10-22 Thread Anshuman Khandual
On 10/20/2017 04:54 AM, Mike Kravetz wrote: > On 10/17/2017 10:55 PM, Anshuman Khandual wrote: >> This adds two tests to validate mirror functionality with mremap() >> system call on shared and private anon mappings. After the commit >> dba58d3b8c5 ("mm/mremap: fail map duplication attempts for pri

Re: [PATCH V3] selftests/vm: Add tests validating mremap mirror functionality

2017-10-19 Thread Mike Kravetz
On 10/17/2017 10:55 PM, Anshuman Khandual wrote: > This adds two tests to validate mirror functionality with mremap() > system call on shared and private anon mappings. After the commit > dba58d3b8c5 ("mm/mremap: fail map duplication attempts for private > mappings"), any attempt to mirror private

[PATCH V3] selftests/vm: Add tests validating mremap mirror functionality

2017-10-17 Thread Anshuman Khandual
This adds two tests to validate mirror functionality with mremap() system call on shared and private anon mappings. After the commit dba58d3b8c5 ("mm/mremap: fail map duplication attempts for private mappings"), any attempt to mirror private anon mapping will fail. Suggested-by: Mike Kravetz Sign