On 8/17/26 00:45, Kiryl Shutsemau wrote:
> From: "Kiryl Shutsemau (Meta)" <[email protected]>
> 
> 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) <[email protected]>
> ---

BTW, I'm wondering whether it would result in less churn (independent of the
other changes) to

a) Rename mm/khugeapged.c to mm/collapse.c

b) Move stuff into mm/collapse.h that a new ...

c) mm/khugapegd.c will need.

-- 
Cheers,

David

Reply via email to