Revert "Ignore madvise(MADV_WILLNEED) for hugetlbfs-backed regions"
authorLinus Torvalds <torvalds@linux-foundation.org>
Wed, 13 May 2009 15:29:12 +0000 (08:29 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 13 May 2009 15:29:12 +0000 (08:29 -0700)
commit0f181328287db30671e9997329cff71395d4af8b
tree0fc4abf67c2b32fee89e3dce8ae2030ba99a54a5
parentf2deae9d4e70793568ef9e85d227abb7bef5b622
Revert "Ignore madvise(MADV_WILLNEED) for hugetlbfs-backed regions"

This reverts commit a425a638c858fd10370b573bde81df3ba500e271.

Now that the previous commit removed the "readpage" actor for hugetlb
files, read-ahead will no longer mess up the mapping, and there's no
longer any reason to treat hugetlbfs mappings specially.

Tested-and-acked-by: Mel Gorman <mel@csn.ul.ie>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/madvise.c