Re: [PATCH v2] mm/percpu, memcontrol: Per-memcg-lruvec percpu accounting
From: Joshua Hahn
Date: Sat Apr 04 2026 - 01:05:26 EST
On Sat, 4 Apr 2026 05:56:55 +0100 Matthew Wilcox <willy@xxxxxxxxxxxxx> wrote:
> On Fri, Apr 03, 2026 at 08:38:43PM -0700, Joshua Hahn wrote:
> > +EXPORT_SYMBOL(mod_memcg_lruvec_state);
>
> What module uses this symbol?
Hello Matthew, thank you for reviewing my patch!
Whoops, no module uses this symbol in this patch. I was working on a similar
patch series (accounting zswap statistics on a per-lruvec level [1]) where I did
the same thing, and needed to export this so that using it in zsmalloc
wouldn't break if zram was built as a module.
Obviously there's no need for exporting for this patch but I forgot to drop
that part when copying this over from that series. Sorry for the noise!
Thanks again for catching this. I hope you have a great day!
Joshua
[1] https://lore.kernel.org/all/20260311195153.4013476-10-joshua.hahnjy@xxxxxxxxx/