diff options
author | Matthew Wilcox (Oracle) <willy@infradead.org> | 2022-06-17 18:50:12 +0100 |
---|---|---|
committer | akpm <akpm@linux-foundation.org> | 2022-07-03 18:08:47 -0700 |
commit | 2f58e5de662726312fd98259a07ab945210999d1 (patch) | |
tree | b3990b71ceeef2050a263130cb876b8b45720aef /include/linux/syscall_user_dispatch.h | |
parent | ab5e653ee810024a1e170c75f973a252053f7467 (diff) | |
download | lwn-2f58e5de662726312fd98259a07ab945210999d1.tar.gz lwn-2f58e5de662726312fd98259a07ab945210999d1.zip |
mm/swap: convert put_pages_list to use folios
Pages linked through the LRU list cannot be tail pages as ->compound_head
is in a union with one of the words of the list_head, and they cannot
be ZONE_DEVICE pages as ->pgmap is in a union with the same word.
Saves 60 bytes of text by removing a call to page_is_fake_head().
Link: https://lkml.kernel.org/r/20220617175020.717127-15-willy@infradead.org
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'include/linux/syscall_user_dispatch.h')
0 files changed, 0 insertions, 0 deletions