Re: [PATCH v5 02/13] mm/khugepaged: add struct collapse_control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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





[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux