diff options
author | Matthew Wilcox (Oracle) <willy@infradead.org> | 2021-04-29 11:09:31 -0400 |
---|---|---|
committer | Matthew Wilcox (Oracle) <willy@infradead.org> | 2021-10-18 07:49:40 -0400 |
commit | 0d31125d2d3267ec349796418a16761bbda20387 (patch) | |
tree | 0c8d48387f014681277dde1285d675fa675951c9 /mm/mempolicy.c | |
parent | 934387c99f1ce3c21b4f1fa67005dd95fbcee5e9 (diff) | |
download | lwn-0d31125d2d3267ec349796418a16761bbda20387.tar.gz lwn-0d31125d2d3267ec349796418a16761bbda20387.zip |
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) <willy@infradead.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: David Howells <dhowells@redhat.com>
Acked-by: Vlastimil Babka <vbabka@suse.cz>
Diffstat (limited to 'mm/mempolicy.c')
0 files changed, 0 insertions, 0 deletions