diff options
author | 2024-04-03 18:18:35 +0100 | |
---|---|---|
committer | 2024-04-25 20:56:34 -0700 | |
commit | 8d1e24c0b82d9730d05ee85eb7f4195df8cdf6a6 (patch) | |
tree | 6b45060af15d3b2b3981075e2c7477e41fbcebf9 /mm/memory.c | |
parent | khugepaged: remove hpage from collapse_file() (diff) | |
download | wireguard-linux-8d1e24c0b82d9730d05ee85eb7f4195df8cdf6a6.tar.xz wireguard-linux-8d1e24c0b82d9730d05ee85eb7f4195df8cdf6a6.zip |
khugepaged: use a folio throughout collapse_file()
Pull folios from the page cache instead of pages. Half of this work had
been done already, but we were still operating on pages for a large chunk
of this function. There is no attempt in this patch to handle large
folios that are smaller than a THP; that will have to wait for a future
patch.
[willy@infradead.org: the unlikely() is embedded in IS_ERR()]
Link: https://lkml.kernel.org/r/ZhIWX8K0E2tSyMSr@casper.infradead.org
Link: https://lkml.kernel.org/r/20240403171838.1445826-7-willy@infradead.org
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'mm/memory.c')
0 files changed, 0 insertions, 0 deletions