Re: [RFC PATCH 03/57] mm/collapse: add collapse.h for the shared collapse state
Kiryl Shutsemau <[email protected]>
| Newsgroups | org.kernel.vger.linux-trace-kernel,org.kernel.vger.bpf,org.kernel.vger.linux-kernel,org.kernel.vger.linux-kselftest,org.kvack.linux-mm |
|---|---|
| Message-ID | <aobfkZLCjzkDMzfa@thinkstation> |
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: > > 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]> > > 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