aboutsummaryrefslogtreecommitdiff
path: root/usr/include
diff options
context:
space:
mode:
authorMatthew Wilcox (Oracle)2022-06-17 18:50:02 +0100
committerakpm2022-07-03 18:08:45 -0700
commit70dea5346ea327499f9a71e77bec2732e4d422ed (patch)
tree37c53792356efa6b4a04e55b5fa6bd37356ba80f /usr/include
parent7d80dd096f8f889128f67a2d452e4dadeed71e63 (diff)
mm/swap: convert lru_add to a folio_batch
When adding folios to the LRU for the first time, the LRU flag will already be clear, so skip the test-and-clear part of moving from one LRU to another. Removes 285 bytes from kernel text, mostly due to removing __pagevec_lru_add(). Link: https://lkml.kernel.org/r/20220617175020.717127-5-willy@infradead.org Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'usr/include')
0 files changed, 0 insertions, 0 deletions