]> git.baikalelectronics.ru Git - kernel.git/commit
mm: compaction: clean up comment for sched contention
authorMiaohe Lin <linmiaohe@huawei.com>
Fri, 29 Apr 2022 06:16:17 +0000 (23:16 -0700)
committerakpm <akpm@linux-foundation.org>
Fri, 29 Apr 2022 06:16:17 +0000 (23:16 -0700)
commit6c9df333bf7d430e76451f9b43bf6666cc74f5f1
treee0d0de4845767d7d5b2ba5b4d86fc8b6795c8d6d
parent91a929ca4b042df0822404d637f07c40bec304b1
mm: compaction: clean up comment for sched contention

Since commit eac413a848a4 ("mm, compaction: do not consider a need to
reschedule as contention"), async compaction won't abort when scheduling
is needed.  Correct the relevant comment accordingly.

Link: https://lkml.kernel.org/r/20220418141253.24298-5-linmiaohe@huawei.com
Signed-off-by: Miaohe Lin <linmiaohe@huawei.com>
Cc: Charan Teja Kalla <charante@codeaurora.org>
Cc: David Hildenbrand <david@redhat.com>
Cc: Pintu Kumar <pintu@codeaurora.org>
Cc: Vlastimil Babka <vbabka@suse.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/compaction.c
mm/internal.h