diff options
author | Matthew Wilcox (Oracle) <willy@infradead.org> | 2024-04-03 20:18:35 +0300 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2024-04-26 06:56:34 +0300 |
commit | 8d1e24c0b82d9730d05ee85eb7f4195df8cdf6a6 (patch) | |
tree | 6b45060af15d3b2b3981075e2c7477e41fbcebf9 /fs/proc | |
parent | 610ff817b981921213ae51e5c5f38c76c6f0405e (diff) | |
download | linux-8d1e24c0b82d9730d05ee85eb7f4195df8cdf6a6.tar.xz |
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 'fs/proc')
0 files changed, 0 insertions, 0 deletions