On Thu, Apr 11, 2024 at 12:41 PM Sergey Senozhatsky <senozhatsky@xxxxxxxxxxxx> wrote: > > On (24/03/28 10:48), Barry Song wrote: > [..] > > diff --git a/drivers/block/zram/zram_drv.h b/drivers/block/zram/zram_drv.h > > index 37bf29f34d26..8481271b3ceb 100644 > > --- a/drivers/block/zram/zram_drv.h > > +++ b/drivers/block/zram/zram_drv.h > > @@ -38,7 +38,14 @@ > > * > > * We use BUILD_BUG_ON() to make sure that zram pageflags don't overflow. > > */ > > + > > +#ifdef CONFIG_ZRAM_MULTI_PAGES > > +#define ZRAM_FLAG_SHIFT (CONT_PTE_SHIFT + 1) > > So this is ARM-only? No, it seems that this aspect was overlooked during the patch cleanup process. Currently, our reliance is solely on !HIGHMEM for the safe utilization of kmap for multi-pages. will fix it in v2. Thanks Barry