diff options
author | Mel Gorman <mgorman@techsingularity.net> | 2019-03-06 00:45:21 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2019-03-06 06:07:17 +0100 |
commit | cb810ad294d3c3a454e51b12fbb483bbb7096b98 (patch) | |
tree | d6551444a5e5bc0a6e069c4af0d8bf3b64518cc8 /lib/memory-notifier-error-inject.c | |
parent | mm, compaction: keep cached migration PFNs synced for unusable pageblocks (diff) | |
download | linux-cb810ad294d3c3a454e51b12fbb483bbb7096b98.tar.xz linux-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 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions