summaryrefslogtreecommitdiffstats
path: root/mm/memory-failure.c
diff options
context:
space:
mode:
authorZhihui Zhang2015-06-25 01:56:42 +0200
committerLinus Torvalds2015-06-25 02:49:42 +0200
commit95bbc0c7210a7397fec1cd219f896ca95bf29e3e (patch)
treea2dc0ec161c0d15d9393136384c0f2351793a66b /mm/memory-failure.c
parentmm: vmscan: do not throttle based on pfmemalloc reserves if node has no recla... (diff)
downloadkernel-qcow2-linux-95bbc0c7210a7397fec1cd219f896ca95bf29e3e.tar.gz
kernel-qcow2-linux-95bbc0c7210a7397fec1cd219f896ca95bf29e3e.tar.xz
kernel-qcow2-linux-95bbc0c7210a7397fec1cd219f896ca95bf29e3e.zip
mm: rename RECLAIM_SWAP to RECLAIM_UNMAP
The name SWAP implies that we are dealing with anonymous pages only. In fact, the original patch that introduced the min_unmapped_ratio logic was to fix an issue related to file pages. Rename it to RECLAIM_UNMAP to match what does. Historically, commit a6dc60f8975a ("vmscan: rename sc.may_swap to may_unmap") renamed .may_swap to .may_unmap, leaving RECLAIM_SWAP behind. commit 2e2e42598908 ("vmscan,memcg: reintroduce sc->may_swap") reintroduced .may_swap for memory controller. Signed-off-by: Zhihui Zhang <zzhsuny@gmail.com> Cc: Johannes Weiner <hannes@cmpxchg.org> Cc: Mel Gorman <mel@csn.ul.ie> Cc: Rik van Riel <riel@redhat.com> Cc: Michal Hocko <mhocko@suse.cz> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/memory-failure.c')
0 files changed, 0 insertions, 0 deletions