On Wed, May 04, 2022 at 02:44:26PM -0700, Zach O'Keefe wrote: > Modularize hugepage collapse by introducing struct collapse_control. > This structure serves to describe the properties of the requested > collapse, as well as serve as a local scratch pad to use during the > collapse itself. > > Start by moving global per-node khugepaged statistics into this > new structure, and stack allocate one for khugepaged collapse > context. > > Signed-off-by: Zach O'Keefe <zokeefe@xxxxxxxxxx> Reviewed-by: Peter Xu <peterx@xxxxxxxxxx> There's already some UMA changes that seems to be not needed if you're going with Yang's UMA patch as pre-requisite. And I also see that there's some other changes to settle and rebase (e.g. -mm temporarily removed the khugepaged patch to move the thread around in next patch), so I figured maybe I'll just stop here and read you next version. Thanks, -- Peter Xu