Thread (119 messages) flat view 119 messages, 9 authors, 10d ago

Re: [RFC PATCH 01/57] mm: add pte_folio()

From: "David Hildenbrand (Arm)" <david@kernel.org>
Date: 2026-08-19 07:57:24
Also in: bpf, linux-kselftest, linux-mm, lkml

On 8/18/26 22:04, Rik van Riel wrote:
On Tue, 2026-08-18 at 20:13 +0200, David Hildenbrand (Arm) wrote:
quoted
On 8/18/26 18:38, Rik van Riel wrote:
quoted
Oh nice, this could clean up some things in the
get_user_pages code too, when we get around to
tech debt there.
We really need the page in GUP code ...
Ugh, indeed. COW can create "holes" in the middle of
a large folio, so even __access_remote_vm() will
continue to need pages.

I guess we'll continue to look up both page and
folio in that code, then :/
Yeah, and it will be more fun once we decouple pages from folios, because then a
page_folio() will be allowed to fail.

(more GUP work, including in GUP users, is required to support that)

-- 
Cheers,

David
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help