linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: Zi Yan <ziy@nvidia.com>
To: "Matthew Wilcox (Oracle)" <willy@infradead.org>
Cc: linux-mm@kvack.org, Andrew Morton <akpm@linux-foundation.org>
Subject: Re: [PATCH 1/5] mm: Add vma_alloc_zeroed_movable_folio()
Date: Thu, 19 Jan 2023 13:22:48 -0500	[thread overview]
Message-ID: <A50BC0D4-29D7-45C4-9C56-9AF5D4199CE5@nvidia.com> (raw)
In-Reply-To: <20230116191813.2145215-2-willy@infradead.org>

[-- Attachment #1: Type: text/plain, Size: 1068 bytes --]

On 16 Jan 2023, at 14:18, Matthew Wilcox (Oracle) wrote:

> Replace alloc_zeroed_user_highpage_movable().  The main difference is
> returning a folio containing a single page instead of returning the
> page, but take the opportunity to rename the function to match other
> allocation functions a little better and rewrite the documentation
> to place more emphasis on the zeroing rather than the highmem aspect.
>
> Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
> ---
>  arch/alpha/include/asm/page.h   |  5 ++---
>  arch/arm64/include/asm/page.h   |  4 ++--
>  arch/arm64/mm/fault.c           |  4 ++--
>  arch/ia64/include/asm/page.h    | 14 ++++++--------
>  arch/m68k/include/asm/page_no.h |  5 ++---
>  arch/s390/include/asm/page.h    |  5 ++---
>  arch/x86/include/asm/page.h     |  5 ++---
>  include/linux/highmem.h         | 33 ++++++++++++++++-----------------
>  mm/memory.c                     | 16 ++++++++++------
>  9 files changed, 44 insertions(+), 47 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 --]

  parent reply	other threads:[~2023-01-19 18:22 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-01-16 19:18 [PATCH 0/5] Convert various functions in memory.c to use folios Matthew Wilcox (Oracle)
2023-01-16 19:18 ` [PATCH 1/5] mm: Add vma_alloc_zeroed_movable_folio() Matthew Wilcox (Oracle)
2023-01-19 10:16   ` Mike Rapoport
2023-01-19 13:57     ` Matthew Wilcox
2023-01-19 18:22   ` Zi Yan [this message]
2023-01-16 19:18 ` [PATCH 2/5] mm: Convert do_anonymous_page() to use a folio Matthew Wilcox (Oracle)
2023-01-19 18:23   ` Zi Yan
2023-01-16 19:18 ` [PATCH 3/5] mm: Convert wp_page_copy() to use folios Matthew Wilcox (Oracle)
2023-01-19 18:29   ` Zi Yan
2023-01-16 19:18 ` [PATCH 4/5] mm: Use a folio in copy_pte_range() Matthew Wilcox (Oracle)
2023-01-19 18:32   ` Zi Yan
2023-01-16 19:18 ` [PATCH 5/5] mm: Use a folio in copy_present_pte() Matthew Wilcox (Oracle)
2023-01-19 18:33   ` Zi Yan
2023-01-21  9:22 ` [PATCH 0/5] Convert various functions in memory.c to use folios Mike Rapoport

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=A50BC0D4-29D7-45C4-9C56-9AF5D4199CE5@nvidia.com \
    --to=ziy@nvidia.com \
    --cc=akpm@linux-foundation.org \
    --cc=linux-mm@kvack.org \
    --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