mm/workingset: Convert workingset_refault() to take a folio
This nets us 178 bytes of savings from removing calls to compound_head. The three callers all grow a little, but each of them will be converted to use folios soon, so that's fine. 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>
Showing
- include/linux/swap.h 2 additions, 2 deletionsinclude/linux/swap.h
- include/linux/vmstat.h 0 additions, 6 deletionsinclude/linux/vmstat.h
- mm/filemap.c 1 addition, 1 deletionmm/filemap.c
- mm/memory.c 2 additions, 1 deletionmm/memory.c
- mm/swap.c 3 additions, 4 deletionsmm/swap.c
- mm/swap_state.c 1 addition, 1 deletionmm/swap_state.c
- mm/workingset.c 22 additions, 20 deletionsmm/workingset.c
Please register or sign in to comment