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

Re: [PATCH RFC 14/29] mm/migrate: remove __ClearPageMovable()

From: David Hildenbrand <hidden>
Date: 2025-06-23 15:43:49
Also in: linux-doc, linux-fsdevel, linux-mm, lkml, virtualization

On 20.06.25 22:15, Zi Yan wrote:
On 18 Jun 2025, at 13:39, David Hildenbrand wrote:
quoted
Unused, let's remove it.

The Chinese docs in Documentation/translations/zh_CN/mm/page_migration.rst
still mention it, but that whole docs is destined to get outdated and
updated by somebody that actually speaks that language.

Signed-off-by: David Hildenbrand <redacted>
---
  include/linux/migrate.h |  4 ----
  mm/compaction.c         | 11 -----------
  2 files changed, 15 deletions(-)
The comment for struct movable_operations needs an update too.
"
If page migration is successful, the driver should call
__ClearPageMovable(@src) and return MIGRATEPAGE_SUCCESS.
 > "

Ah, thanks, it will simply be "should return MIGRATEPAGE_SUCCESS".

There is more magic to it (the driver must setup the dst page as
movable), but probably that might all be reworked soon.

-- 
Cheers,

David / dhildenb

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