Thread (87 messages) 87 messages, 5 authors, 2025-06-30

Re: [PATCH RFC 07/29] mm/migrate: rename isolate_movable_page() to isolate_movable_ops_page()

From: Harry Yoo <hidden>
Date: 2025-06-30 08:05:59
Also in: linux-doc, linux-fsdevel, linux-mm, lkml, virtualization

On Wed, Jun 18, 2025 at 07:39:50PM +0200, David Hildenbrand wrote:
... and start moving back to per-page things that will absolutely not be
folio things in the future. Add documentation and a comment that the
remaining folio stuff (lock, refcount) will have to be reworked as well.

While at it, convert the VM_BUG_ON() into a WARN_ON_ONCE() and handle
it gracefully (relevant with further changes), and convert a
WARN_ON_ONCE() into a VM_WARN_ON_ONCE_PAGE().

Signed-off-by: David Hildenbrand <redacted>
---
Haha yeah, back to pages after folio conversion :P
But makes sense.

Reviewed-by: Harry Yoo <redacted>

Side question: In the future, maybe we will be unable to tell whether
a page is compound or not, without first inspecting page->memdesc?
(e.g., struct slab could have an order and a pointer to the head page...
just imagining).

-- 
Cheers,
Harry / Hyeonggon
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help