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

Sergey Senozhatsky senozhatsky at chromium.org
Wed Jul 2 18:11:38 AEST 2025


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?


More information about the Linuxppc-dev mailing list