aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/xen-netback/interface.c
diff options
context:
space:
mode:
authorJohannes Weiner <[email protected]>2014-05-22 18:54:17 +0000
committerLinus Torvalds <[email protected]>2014-05-23 16:37:29 +0000
commit55231e5c898c5c03c14194001e349f40f59bd300 (patch)
treed7eed4063e40f65ce3fc13a0473742b91ce6dc0b /drivers/net/xen-netback/interface.c
parentmm/filemap.c: avoid always dirtying mapping->flags on O_DIRECT (diff)
downloadkernel-55231e5c898c5c03c14194001e349f40f59bd300.tar.gz
kernel-55231e5c898c5c03c14194001e349f40f59bd300.zip
mm: madvise: fix MADV_WILLNEED on shmem swapouts
MADV_WILLNEED currently does not read swapped out shmem pages back in. Commit 0cd6144aadd2 ("mm + fs: prepare for non-page entries in page cache radix trees") made find_get_page() filter exceptional radix tree entries but failed to convert all find_get_page() callers that WANT exceptional entries over to find_get_entry(). One of them is shmem swap readahead in madvise, which now skips over any swap-out records. Convert it to find_get_entry(). Fixes: 0cd6144aadd2 ("mm + fs: prepare for non-page entries in page cache radix trees") Signed-off-by: Johannes Weiner <[email protected]> Reported-by: Hugh Dickins <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'drivers/net/xen-netback/interface.c')
0 files changed, 0 insertions, 0 deletions