]> Git Repo - linux.git/commit - mm/swap.c
mm/lru: Add folio_add_lru()
authorMatthew Wilcox (Oracle) <[email protected]>
Thu, 29 Apr 2021 15:09:31 +0000 (11:09 -0400)
committerMatthew Wilcox (Oracle) <[email protected]>
Mon, 18 Oct 2021 11:49:40 +0000 (07:49 -0400)
commit0d31125d2d3267ec349796418a16761bbda20387
tree0c8d48387f014681277dde1285d675fa675951c9
parent934387c99f1ce3c21b4f1fa67005dd95fbcee5e9
mm/lru: Add folio_add_lru()

Reimplement lru_cache_add() as a wrapper around folio_add_lru().
Saves 159 bytes of kernel text due to removing calls to compound_head().

Signed-off-by: Matthew Wilcox (Oracle) <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Reviewed-by: David Howells <[email protected]>
Acked-by: Vlastimil Babka <[email protected]>
include/linux/swap.h
mm/folio-compat.c
mm/swap.c
This page took 0.058586 seconds and 4 git commands to generate.