Matthew Wilcox (Oracle) 4746f5ce0f khugepaged: inline hpage_collapse_alloc_folio()
Patch series "khugepaged folio conversions".

We've been kind of hacking piecemeal at converting khugepaged to use
folios instead of compound pages, and so this patchset is a little larger
than it should be as I undo some of our wrong moves in the past.  In
particular, collapse_file() now consistently uses 'new_folio' for the
freshly allocated folio and 'folio' for the one that's currently in use.  


This patch (of 7):

This function has one caller, and the combined function is simpler to
read, reason about and modify.

Link: https://lkml.kernel.org/r/20240403171838.1445826-1-willy@infradead.org
Link: https://lkml.kernel.org/r/20240403171838.1445826-2-willy@infradead.org
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Reviewed-by: Vishal Moola (Oracle) <vishal.moola@gmail.com> 
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
2024-04-25 20:56:32 -07:00
..
2024-04-25 20:55:49 -07:00
2023-12-12 10:11:32 +01:00
2023-04-12 17:36:23 -07:00
2024-04-25 20:56:19 -07:00
2024-02-24 15:53:40 -08:00
2024-04-25 20:56:19 -07:00
2024-04-25 20:56:19 -07:00
2024-04-25 20:56:29 -07:00
2022-10-03 14:02:43 -07:00
2024-04-25 20:56:12 -07:00
2021-05-07 00:26:35 -07:00
2024-04-25 20:56:18 -07:00
2024-04-25 20:56:18 -07:00
2023-04-12 17:36:23 -07:00
2024-04-25 20:56:19 -07:00
2024-04-25 20:55:48 -07:00
2024-04-25 20:55:48 -07:00
2024-04-25 20:55:48 -07:00
2024-04-25 20:56:18 -07:00