Re: [PATCH] mm/madvise: Move up the behavior parameter validation

2017-04-13 Thread kbuild test robot
Hi Anshuman, [auto build test ERROR on next-20170412] [also build test ERROR on v4.11-rc6] [cannot apply to mmotm/master v4.9-rc8 v4.9-rc7 v4.9-rc6] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url:

Re: [PATCH] mm/madvise: Move up the behavior parameter validation

2017-04-13 Thread kbuild test robot
Hi Anshuman, [auto build test ERROR on next-20170412] [also build test ERROR on v4.11-rc6] [cannot apply to mmotm/master v4.9-rc8 v4.9-rc7 v4.9-rc6] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url:

[PATCH] mm/madvise: Move up the behavior parameter validation

2017-04-13 Thread Anshuman Khandual
The madvise_behavior_valid() function should be called before acting upon the behavior parameter. Hence move up the function. This also includes MADV_SOFT_OFFLINE and MADV_HWPOISON options as valid behavior parameter for the system call madvise(). Signed-off-by: Anshuman Khandual

[PATCH] mm/madvise: Move up the behavior parameter validation

2017-04-13 Thread Anshuman Khandual
The madvise_behavior_valid() function should be called before acting upon the behavior parameter. Hence move up the function. This also includes MADV_SOFT_OFFLINE and MADV_HWPOISON options as valid behavior parameter for the system call madvise(). Signed-off-by: Anshuman Khandual --- This