Re: [PATCH v2 3/3] docs: zsmalloc: describe statistics with CONFIG_DEBUG_FS
From: Xueyuan Chen
Date: Wed Nov 11 2026 - 06:55:55 EST
On 2026-11-11 15:25 +0900, Sergey Senozhatsky wrote:
> On (26/11/09 20:59), Xueyuan Chen wrote:
> > -通过CONFIG_ZSMALLOC_STAT,我们可以通过 ``/sys/kernel/debug/zsmalloc/<user name>``
> > +通过CONFIG_DEBUG_FS,我们可以通过 ``/sys/kernel/debug/zsmalloc/<user name>``
> > 看到zsmalloc内部信息。下面是一个统计输出的例子。::
>
> Just out of curiosity, what does <user name> mean? The stats are at
> /sys/kernel/debug/zsmalloc/zramN/classes, where N is zram device number.
>
>
I guess "user" refers to a zsmalloc user, like zram.
But yeah, <pool-name> is clearer. I'll fix it in v3.