From: David Hildenbrand <david@redhat.com>
To: Matthew Wilcox <willy@infradead.org>
Cc: Sidhartha Kumar <sidhartha.kumar@oracle.com>, linux-mm@kvack.org
Subject: Re: Replacing walk_page_range
Date: Wed, 9 Aug 2023 15:44:50 +0200 [thread overview]
Message-ID: <c84b1076-c9cb-5cf1-fb10-da639b62a7b4@redhat.com> (raw)
In-Reply-To: <ZNOQEpbib7BHVyGj@casper.infradead.org>
On 09.08.23 15:09, Matthew Wilcox wrote:
> On Wed, Aug 09, 2023 at 09:35:01AM +0200, David Hildenbrand wrote:
>> On 08.08.23 19:09, Matthew Wilcox wrote:
>>> Sid was incautious enough to say he'd like to take on fixing
>>> walk_page_range() so that hugetlb isn't treated specially. This is
>>> going to subject him to one of my rants, so I thought I'd share with
>>> everyone before we meet to talk about it later today.
>>
>> Are we only talking about walk_page_range() or also walk_page_range_vma() /
>> walk_page_vma() ?
>>
>> I tend to like the VMA variants ...
>
> We're talking about getting rid of mm_walk_ops. There aren't exactly a
> lot of callers of either of those functions -- 4 of walk_page_vma()
> and 1 of walk_page_range_vma().
Okay, I see. For some use cases, it's probably sufficient to walk folios.
But we do have some advanced users like fs/proc/task_mmu.c.
[I do have two more follow_page() -> walk_page_range_vma() conversions
lying around here; they want to also know if a page is mapped writable]
--
Cheers,
David / dhildenb
prev parent reply other threads:[~2023-08-09 13:44 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-08-08 17:09 Matthew Wilcox
2023-08-09 7:35 ` David Hildenbrand
2023-08-09 13:09 ` Matthew Wilcox
2023-08-09 13:44 ` David Hildenbrand [this message]
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=c84b1076-c9cb-5cf1-fb10-da639b62a7b4@redhat.com \
--to=david@redhat.com \
--cc=linux-mm@kvack.org \
--cc=sidhartha.kumar@oracle.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