]> www.infradead.org Git - users/jedix/linux-maple.git/commit
mm/vmscan: don't try to reclaim freed folios
authorMiaohe Lin <linmiaohe@huawei.com>
Wed, 8 Jun 2022 14:14:32 +0000 (22:14 +0800)
committerLiam R. Howlett <Liam.Howlett@oracle.com>
Wed, 20 Jul 2022 00:15:06 +0000 (20:15 -0400)
commitbe25e67e3aeb11e164c92c39563f8a0b32472a21
tree7fb7e03daf2b0cf8be05ff7e0abb0b9a596037c6
parent441645580db1a1a0016e9d409e56fe06c591f035
mm/vmscan: don't try to reclaim freed folios

If folios were freed from under us, there's no need to reclaim them.  Skip
these folios to save lots of cpu cycles and avoid possible unnecessary
disk I/O.

Link: https://lkml.kernel.org/r/20220608141432.23258-1-linmiaohe@huawei.com
Signed-off-by: Miaohe Lin <linmiaohe@huawei.com>
Cc: Matthew Wilcox <willy@infradead.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/vmscan.c