Re: [PATCH v3 28/30 fix 1/2] mm: memcontrol: fix lruvec_stats->state_local reparenting

From: Qi Zheng

Date: Thu Jan 15 2026 - 22:28:18 EST




On 1/16/26 1:47 AM, Andrew Morton wrote:
On Thu, 15 Jan 2026 18:41:38 +0800 Qi Zheng <qi.zheng@xxxxxxxxx> wrote:

From: Qi Zheng <zhengqi.arch@xxxxxxxxxxxxx>

Signed-off-by: Qi Zheng <zhengqi.arch@xxxxxxxxxxxxx>

What was "fixed"?

[1/2] fixed the issue reported by https://lore.kernel.org/all/6967cd38.050a0220.58bed.0001.GAE@xxxxxxxxxx/.

Previuosly, state_local was protected by ss_rstat_lock. Since
[PATCH v3 28/30] added a concurrent path, [2/2] changed state_local
to the atomic_long_t type for protection.


I queued this and [2/2] as squashable fixes against "mm: memcontrol:
prepare for reparenting state_local".

Thanks!