summaryrefslogtreecommitdiffstats
path: root/mm/mempolicy.c
diff options
context:
space:
mode:
authorHugh Dickins2015-09-09 00:03:46 +0200
committerLinus Torvalds2015-09-09 00:35:28 +0200
commit7fadc820222497eac234d1d51a66517c00a6ca4c (patch)
treea4e8a91b85b33fc9532c808dee54dda46f5f380c /mm/mempolicy.c
parentlist_lru: don't call list_lru_from_kmem if the list_head is empty (diff)
downloadkernel-qcow2-linux-7fadc820222497eac234d1d51a66517c00a6ca4c.tar.gz
kernel-qcow2-linux-7fadc820222497eac234d1d51a66517c00a6ca4c.tar.xz
kernel-qcow2-linux-7fadc820222497eac234d1d51a66517c00a6ca4c.zip
mm, vmscan: unlock page while waiting on writeback
This is merely a politeness: I've not found that shrink_page_list() leads to deadlock with the page it holds locked across wait_on_page_writeback(); but nevertheless, why hold others off by keeping the page locked there? And while we're at it: remove the mistaken "not " from the commentary on this Case 3 (and a distracting blank line from Case 2, if I may). Signed-off-by: Hugh Dickins <hughd@google.com> Acked-by: Michal Hocko <mhocko@suse.com> Acked-by: Johannes Weiner <hannes@cmpxchg.org> Cc: Mel Gorman <mgorman@techsingularity.net> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/mempolicy.c')
0 files changed, 0 insertions, 0 deletions