On Tue, Nov 26, 2024 at 6:37 PM Sergey Senozhatsky <senozhatsky@xxxxxxxxxxxx> wrote: > > On (24/11/22 11:25), Barry Song wrote: > > static void reset_page(struct page *page) > > { > > - __ClearPageMovable(page); > > + if (PageMovable(page)) > > + __ClearPageMovable(page); > > A side note: > ERROR: modpost: "PageMovable" [mm/zsmalloc.ko] undefined! My mistake. It could be if (!__PageMovable(page)). Ideally, we should support movability for large block compression. Thanks Barry