diff options
| author | Kemeng Shi <shikemeng@huaweicloud.com> | 2023-09-01 18:51:40 +0300 |
|---|---|---|
| committer | Andrew Morton <akpm@linux-foundation.org> | 2023-10-04 20:32:19 +0300 |
| commit | 9cc17ede5125933ab47f8f359c2cce3aca8ee757 (patch) | |
| tree | 9af7dfddb752eae398938ed5248403aa9f386284 /include/linux | |
| parent | 8df4e28c64188911fba33789bf2cb882b3ae524e (diff) | |
| download | linux-9cc17ede5125933ab47f8f359c2cce3aca8ee757.tar.xz | |
mm/compaction: improve comment of is_via_compact_memory
We do proactive compaction with order == -1 via
1. /proc/sys/vm/compact_memory
2. /sys/devices/system/node/nodex/compact
3. /proc/sys/vm/compaction_proactiveness
Add missed situation in which order == -1.
Link: https://lkml.kernel.org/r/20230901155141.249860-6-shikemeng@huaweicloud.com
Signed-off-by: Kemeng Shi <shikemeng@huaweicloud.com>
Reviewed-by: Baolin Wang <baolin.wang@linux.alibaba.com>
Acked-by: Mel Gorman <mgorman@techsingularity.net>
Cc: David Hildenbrand <david@redhat.com>
Cc: Matthew Wilcox (Oracle) <willy@infradead.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
