aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/mm/memory.c
diff options
context:
space:
mode:
authorMatthew Wilcox (Oracle) <willy@infradead.org>2024-04-03 18:18:30 +0100
committerAndrew Morton <akpm@linux-foundation.org>2024-04-25 20:56:32 -0700
commit4746f5ce0fa52e21b5fe432970fe9516d1a45ebc (patch)
treeea1b91650857ed9df0c3957277e79460387a513b /mm/memory.c
parentselftests/mm: mremap_test: use sscanf to parse /proc/self/maps (diff)
downloadwireguard-linux-4746f5ce0fa52e21b5fe432970fe9516d1a45ebc.tar.xz
wireguard-linux-4746f5ce0fa52e21b5fe432970fe9516d1a45ebc.zip
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>
Diffstat (limited to 'mm/memory.c')
0 files changed, 0 insertions, 0 deletions