Re: [PATCH v2 4/4] mm: memcontrol: fix unexpected massive positive number in memcg_state_val_in_pages()
From: Andrew Morton
Date: Thu Mar 26 2026 - 23:17:22 EST
On Fri, 27 Mar 2026 10:42:52 +0800 Qi Zheng <qi.zheng@xxxxxxxxx> wrote:
> > a) Redo this "fix unexpected ..." series on top of "Eliminate ..."
> > and tolerate the bisection hole (easiest).
>
> From my personal perspective, I prefer this approach. The issues fixed
> by this patchset aren't too critical; it's just that the counter might
> overflow (and only with CONFIG_MEMCG_V1). If it can be included in
> v7.1-rcX along with "Eliminate ...", I think it's acceptable.
Cool, thanks.
I've dropped "fix unexpected type conversions and potential overflows
v2" from mm.git to give you a clean mm-unstable to work against. I
expect to be pushing this a couple of hours from now.