summaryrefslogtreecommitdiffstats
path: root/samples
diff options
context:
space:
mode:
authorMel Gorman <mgorman@techsingularity.net>2019-03-05 15:45:21 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2019-03-05 21:07:17 -0800
commitcb810ad294d3c3a454e51b12fbb483bbb7096b98 (patch)
treed6551444a5e5bc0a6e069c4af0d8bf3b64518cc8 /samples
parent8854c55f54bcc104e3adae42abe16948286ec75c (diff)
downloadlinux-stable-cb810ad294d3c3a454e51b12fbb483bbb7096b98.tar.gz
linux-stable-cb810ad294d3c3a454e51b12fbb483bbb7096b98.tar.bz2
linux-stable-cb810ad294d3c3a454e51b12fbb483bbb7096b98.zip
mm, compaction: rework compact_should_abort as compact_check_resched
With incremental changes, compact_should_abort no longer makes any documented sense. Rename to compact_check_resched and update the associated comments. There is no benefit other than reducing redundant code and making the intent slightly clearer. It could potentially be merged with earlier patches but it just makes the review slightly harder. Link: http://lkml.kernel.org/r/20190118175136.31341-17-mgorman@techsingularity.net Signed-off-by: Mel Gorman <mgorman@techsingularity.net> Acked-by: Vlastimil Babka <vbabka@suse.cz> Cc: Andrea Arcangeli <aarcange@redhat.com> Cc: Dan Carpenter <dan.carpenter@oracle.com> Cc: David Rientjes <rientjes@google.com> Cc: YueHaibing <yuehaibing@huawei.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions