linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: Matthew Wilcox <willy@infradead.org>
To: Kefeng Wang <wangkefeng.wang@huawei.com>
Cc: Andrew Morton <akpm@linux-foundation.org>,
	ziy@nvidia.com, linux-mm@kvack.org
Subject: Re: [PATCH] mm: memory: use nth_page() in clear/copy_subpage()
Date: Fri, 29 Dec 2023 08:49:04 +0000	[thread overview]
Message-ID: <ZY6IAA2OCrhFzdKe@casper.infradead.org> (raw)
In-Reply-To: <20231229082207.60235-1-wangkefeng.wang@huawei.com>

On Fri, Dec 29, 2023 at 04:22:07PM +0800, Kefeng Wang wrote:
> The clear and copy of huge gigantic page has converted to use nth_page()
> to handle the possible discontinuous struct page(SPARSEMEM without VMEMMAP),
> but not change for the non-gigantic part, fix it too.

Can there be discontiguities within a non-gigantic huge page?  My
impression was that you can't have a discontiguity at such a small
boundary.


  reply	other threads:[~2023-12-29  8:49 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-12-29  8:22 Kefeng Wang
2023-12-29  8:49 ` Matthew Wilcox [this message]
2023-12-29 11:15   ` David Hildenbrand
2024-01-02  6:53     ` Kefeng Wang
2024-01-02 16:11       ` David Hildenbrand
2024-01-03  6:23         ` Kefeng Wang

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=ZY6IAA2OCrhFzdKe@casper.infradead.org \
    --to=willy@infradead.org \
    --cc=akpm@linux-foundation.org \
    --cc=linux-mm@kvack.org \
    --cc=wangkefeng.wang@huawei.com \
    --cc=ziy@nvidia.com \
    /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