> On Aug 16, 2022, at 21:05, Miaohe Lin <linmiaohe@xxxxxxxxxx> wrote: > > There should be pages_per_huge_page(h) / pages_per_huge_page(target_hstate) > pages incremented for target_hstate->max_huge_pages when page is demoted. > Update max_huge_pages accordingly for consistency. > > Signed-off-by: Miaohe Lin <linmiaohe@xxxxxxxxxx> Reviewed-by: Muchun Song <songmuchun@xxxxxxxxxxxxx> Thanks.