diff options
author | Matthew Wilcox (Oracle) <willy@infradead.org> | 2021-04-29 10:27:16 -0400 |
---|---|---|
committer | Matthew Wilcox (Oracle) <willy@infradead.org> | 2021-10-18 07:49:40 -0400 |
commit | 0995d7e568141226f10f8216aa4965e06ab5db8a (patch) | |
tree | cc377f799c48bc95a3a097cb3825bf28c76a13a0 /include/linux/vmstat.h | |
parent | 9bf70167e3c61473b95f40771decc3778bf0fb9f (diff) | |
download | linux-0995d7e568141226f10f8216aa4965e06ab5db8a.tar.gz linux-0995d7e568141226f10f8216aa4965e06ab5db8a.tar.bz2 linux-0995d7e568141226f10f8216aa4965e06ab5db8a.zip |
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>
Diffstat (limited to 'include/linux/vmstat.h')
-rw-r--r-- | include/linux/vmstat.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/include/linux/vmstat.h b/include/linux/vmstat.h index 241bd0f53fb9..bfe38869498d 100644 --- a/include/linux/vmstat.h +++ b/include/linux/vmstat.h @@ -597,12 +597,6 @@ static inline void mod_lruvec_page_state(struct page *page, #endif /* CONFIG_MEMCG */ -static inline void inc_lruvec_state(struct lruvec *lruvec, - enum node_stat_item idx) -{ - mod_lruvec_state(lruvec, idx, 1); -} - static inline void __inc_lruvec_page_state(struct page *page, enum node_stat_item idx) { |