From: Zi Yan <ziy@nvidia.com>
To: Kefeng Wang <wangkefeng.wang@huawei.com>
Cc: Andrew Morton <akpm@linux-foundation.org>,
linux-mm@kvack.org, Ryan Roberts <ryan.roberts@arm.com>,
David Hildenbrand <david@redhat.com>,
Hugh Dickins <hughd@google.com>, Barry Song <baohua@kernel.org>,
willy@infradead.org
Subject: Re: [PATCH] mm: remove unused hugepage for vma_alloc_folio()
Date: Thu, 10 Oct 2024 11:09:08 -0400 [thread overview]
Message-ID: <470418A8-EB33-4131-B101-C0792AC94071@nvidia.com> (raw)
In-Reply-To: <20241010061556.1846751-1-wangkefeng.wang@huawei.com>
[-- Attachment #1: Type: text/plain, Size: 1031 bytes --]
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@huawei.com>
> ---
> 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@nvidia.com>
Best Regards,
Yan, Zi
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 854 bytes --]
next prev parent reply other threads:[~2024-10-10 15:09 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-10-10 6:15 Kefeng Wang
2024-10-10 12:42 ` David Hildenbrand
2024-10-10 15:09 ` Zi Yan [this message]
2024-10-10 15:35 ` Barry Song
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=470418A8-EB33-4131-B101-C0792AC94071@nvidia.com \
--to=ziy@nvidia.com \
--cc=akpm@linux-foundation.org \
--cc=baohua@kernel.org \
--cc=david@redhat.com \
--cc=hughd@google.com \
--cc=linux-mm@kvack.org \
--cc=ryan.roberts@arm.com \
--cc=wangkefeng.wang@huawei.com \
--cc=willy@infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox