]> git.baikalelectronics.ru Git - kernel.git/commit
mm/workingset: Convert workingset_eviction() to take a folio
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Thu, 23 Dec 2021 21:39:05 +0000 (16:39 -0500)
committerMatthew Wilcox (Oracle) <willy@infradead.org>
Mon, 21 Mar 2022 16:59:01 +0000 (12:59 -0400)
commit0c3f93ebdecd4d9fd2fec2235d4266c82b3a2bc1
tree5ca7fde99f04b289af051cb4cceb01a3143d45cc
parentf11c7b38c95b4d9ceb27e7c2a5f02e29b11bc641
mm/workingset: Convert workingset_eviction() to take a folio

This removes an assumption that THPs are the only kind of compound
pages and removes a few hidden calls to compound_head().

Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
include/linux/swap.h
mm/vmscan.c
mm/workingset.c