Re: [PATCH v1 12/29] mm/zsmalloc: stop using __ClearPageMovable()

Sergey Senozhatsky
2025-07-02T08:11:50Z

On (25/06/30 14:59), David Hildenbrand wrote:
[..]
> static int zs_page_migrate(struct page *newpage, struct page *page,
> @@ -1736,6 +1736,13 @@ static int zs_page_migrate(struct page *newpage, struct page *page,
> unsigned long old_obj, new_obj;
> unsigned int obj_idx;
>
> + /*
> + * TODO: nothing prevents a zspage from getting destroyed while
> + * isolated: we should disallow that and defer it.
> + */

Can you elaborate?