]> git.baikalelectronics.ru Git - kernel.git/commit
vmscan: convert the activate_locked portion of shrink_page_list to folios
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Fri, 13 May 2022 03:23:03 +0000 (20:23 -0700)
committerAndrew Morton <akpm@linux-foundation.org>
Fri, 13 May 2022 14:20:15 +0000 (07:20 -0700)
commitf5ec355d05a48a727f4935c19282612c35a85d16
tree9fa3e95f3650af6aa6c393ca987399bbe03fff59
parent9407d88f4781b0afd97c64d8fdb4291ccf50d6e3
vmscan: convert the activate_locked portion of shrink_page_list to folios

This accounts the number of pages activated correctly for large folios.

Link: https://lkml.kernel.org/r/20220504182857.4013401-14-willy@infradead.org
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/vmscan.c