Re: [PATCHv2 0/4] zsmalloc: make zspage chain size configurable

From: Sergey Senozhatsky
Date: Sun Jan 15 2023 - 22:47:43 EST


Hi,

On (23/01/16 09:27), Huang, Ying wrote:
> >> [ 59.546261] Call Trace:
> >> [ 59.546833] <TASK>
> >> [ 59.547371] ? lock_is_held_type+0xd9/0x130
> >> [ 59.548331] migrate_pages_batch+0x650/0xdc0
> >> [ 59.549326] ? move_freelist_tail+0xc0/0xc0
> >> [ 59.550281] ? isolate_freepages+0x290/0x290
> >> [ 59.551289] ? folio_flags.constprop.0+0x50/0x50
> >> [ 59.552348] migrate_pages+0x3fa/0x4d0
> >> [ 59.553224] ? isolate_freepages+0x290/0x290
> >> [ 59.554214] ? move_freelist_tail+0xc0/0xc0
> >> [ 59.555173] compact_zone+0x51b/0x6a0
> >> [ 59.556031] proactive_compact_node+0x8e/0xe0
> >> [ 59.557033] kcompactd+0x1c3/0x350
> >> [ 59.557842] ? swake_up_all+0xe0/0xe0
> >> [ 59.558699] ? kcompactd_do_work+0x260/0x260
> >> [ 59.559703] kthread+0xec/0x110
> >> [ 59.560450] ? kthread_complete_and_exit+0x20/0x20
> >> [ 59.561582] ret_from_fork+0x1f/0x30
> >> [ 59.562427] </TASK>
> >> [ 59.562966] Modules linked in: deflate zlib_deflate zstd zstd_compress zram
> >> [ 59.564591] ---[ end trace 0000000000000000 ]---
> >> [ 59.565661] RIP: 0010:move_to_new_folio+0x362/0x3b0
>
> Thanks for reporting. We have just fixed a ZRAM related bug in
> migrate_pages() batching series with the help of Mike.

Oh, great. Yeah, I narroved it down to that series as well.

> https://lore.kernel.org/linux-mm/Y8DizzvFXBSEPzI4@monkey/

That fixes it!