Re: [PATCH RFC v3 1/4] mm: zsmalloc: support objects compressed based on multiple pages

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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





[Index of Archives]     [Linux RAID]     [Linux SCSI]     [Linux ATA RAID]     [IDE]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Device Mapper]

  Powered by Linux