On 10 Oct 2024, at 2:15, Kefeng Wang wrote: > The hugepage parameter was deprecated since commit ddc1a5cbc05d > ("mempolicy: alloc_pages_mpol() for NUMA policy without vma"), > for PMD-sized THP, it still tries only preferred node if possible > in vma_alloc_folio() by checking the order of the folio allocation. > > Signed-off-by: Kefeng Wang <wangkefeng.wang@xxxxxxxxxx> > --- > arch/alpha/include/asm/page.h | 2 +- > arch/arm64/mm/fault.c | 2 +- > arch/m68k/include/asm/page_no.h | 2 +- > arch/s390/include/asm/page.h | 2 +- > arch/x86/include/asm/page.h | 2 +- > include/linux/gfp.h | 6 +++--- > include/linux/highmem.h | 2 +- > mm/huge_memory.c | 2 +- > mm/ksm.c | 2 +- > mm/memory.c | 10 ++++------ > mm/mempolicy.c | 3 +-- > mm/userfaultfd.c | 2 +- > 12 files changed, 17 insertions(+), 20 deletions(-) LGTM. Reviewed-by: Zi Yan <ziy@xxxxxxxxxx> Best Regards, Yan, Zi
Attachment:
signature.asc
Description: OpenPGP digital signature