On 04/02/2015 11:21 PM, David Rientjes wrote:
> madvise(2) actually returns with error EINVAL for MADV_REMOVE when used
> for hugetlb vmas, not EOPNOTSUPP, and this has been the case since
> MADV_REMOVE was introduced in commit f6b3ec238d12 ("madvise(MADV_REMOVE):
> remove pages from tmpfs shm b
madvise(2) actually returns with error EINVAL for MADV_REMOVE when used
for hugetlb vmas, not EOPNOTSUPP, and this has been the case since
MADV_REMOVE was introduced in commit f6b3ec238d12 ("madvise(MADV_REMOVE):
remove pages from tmpfs shm backing store").
Specify the exact behavior.
Signed-o
2 matches
Mail list logo