]> git.baikalelectronics.ru Git - kernel.git/commit
mm/vmscan: fix comment for isolate_lru_pages
authorMiaohe Lin <linmiaohe@huawei.com>
Fri, 29 Apr 2022 06:16:04 +0000 (23:16 -0700)
committerakpm <akpm@linux-foundation.org>
Fri, 29 Apr 2022 06:16:04 +0000 (23:16 -0700)
commit011eb2a182074f116881bafeb250f5a01ea13876
tree28a3277c52bb8b6065799e97d8327835522ac72c
parent47a3275b67cd284e34c56e5c448c0fa79b53cf20
mm/vmscan: fix comment for isolate_lru_pages

Since commit 6deaab888b2a ("mm: vmscan: scan until it finds eligible
pages"), splicing any skipped pages to the tail of the LRU list won't put
the system at risk of premature OOM but will waste lots of cpu cycles.
Correct the comment accordingly.

Link: https://lkml.kernel.org/r/20220416025231.8082-1-linmiaohe@huawei.com
Signed-off-by: Miaohe Lin <linmiaohe@huawei.com>
Cc: Minchan Kim <minchan@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/vmscan.c