On Wed, Jun 28, 2023 at 5:59 PM Yin Fengwei <fengwei.yin@xxxxxxxxx> wrote: > > Hi Yu, > > On 6/29/23 02:22, Yu Zhao wrote: > > And please make sure it's disabled by default, because we are still > > missing many important functions, e.g., I don't think we can mlock() > > when large() && !pmd_mappable(), see mlock_pte_range() and > > mlock_vma_folio(). We can fix it along with many things later, but we > > need to present a plan and a schedule now. Otherwise, there would be > > pushback if we try to land the series without supporting mlock(). > > > > Do you or Fengwei plan to take on it? (I personally don't.) If not, > Do you mean the mlock() with large folio? Yes. I can work on it. Thanks. Great. Thanks! Other places that have the similar problem but are probably easier to fix than the mlock() case: * madvise_cold_or_pageout_pte_range() * shrink_folio_list()