]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit24a23d4d61970b30ed376a6ff59ca1a25a32d19a
tree0fc4abf67c2b32fee89e3dce8ae2030ba99a54a5
parent9a1e10ae39d65fdc313b76e5af8185818c3b2cf4
Revert "Ignore madvise(MADV_WILLNEED) for hugetlbfs-backed regions"

This reverts commit b142715a78785665af62b2bb147547d0db8845e0.

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