Thread (119 messages) flat view 119 messages, 9 authors, 11d ago

Re: [RFC PATCH 03/57] mm/collapse: add collapse.h for the shared collapse state

From: Kiryl Shutsemau <hidden>
Date: 2026-08-20 11:06:13
Also in: bpf, linux-kselftest, linux-mm, lkml

On Tue, Aug 18, 2026 at 11:50:55AM +0100, Lorenzo Stoakes (ARM) wrote:
On Sun, Aug 16, 2026 at 11:45:15PM +0100, Kiryl Shutsemau wrote:
quoted
From: "Kiryl Shutsemau (Meta)" <kas@kernel.org>

Preparation for building the new collapse engine in its own file.  The
engine and khugepaged.c need to agree on what a collapse result is and
what state a scan carries.

Move enum scan_result and struct collapse_control into a new
mm/collapse.h.

No functional change intended.

Assisted-by: Claude-Code:claude-opus-5
Signed-off-by: Kiryl Shutsemau (Meta) <kas@kernel.org>
Any change that introduces a new file should in the same change update
MAINTAINERS (in the THP section to which this belongs :)
Will do.

-- 
  Kiryl Shutsemau / Kirill A. Shutemov
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help