diff options
author | Hugh Dickins <hughd@google.com> | 2015-09-09 01:03:46 +0300 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2015-09-09 01:35:28 +0300 |
commit | 7fadc820222497eac234d1d51a66517c00a6ca4c (patch) | |
tree | a4e8a91b85b33fc9532c808dee54dda46f5f380c /mm/huge_memory.c | |
parent | 26f5d7609f03ad8d6dc552458e4e371a62416b37 (diff) | |
download | linux-7fadc820222497eac234d1d51a66517c00a6ca4c.tar.xz |
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/huge_memory.c')
0 files changed, 0 insertions, 0 deletions