Re: [PATCH v4 1/4] percpu: Fix wrong chunk hints update
From: Joonwon Kang
Date: Sun May 10 2026 - 02:50:53 EST
> On Wed, 6 May 2026 14:20:56 +0000 Joonwon Kang <joonwonkang@xxxxxxxxxx> wrote:
>
> > Chunk end offset was set to a block end offset, which could prevent
> > chunk hints from being updated correctly. It was observed that the chunk
> > free size gets minus or shorter than the actual free size due to this.
> > This commit fixes it.
>
> AI review:
> https://sashiko.dev/#/patchset/20260506142100.1289509-1-joonwonkang@xxxxxxxxxx
>
> The first comment seems valid:
>
> CC mm/percpu-stats.o
> mm/percpu-stats.c: In function 'chunk_map_stats':
> mm/percpu-stats.c:125:9: error: aggregate value used where an integer was expected
> 125 | P("contig_bytes", chunk_md->contig_hint * PCPU_MIN_ALLOC_SIZE);
> | ^
Indeed, thanks for catching this out. I missed running the allyesconfig build.
Will send a new version.
The fact that the patches are now being reviewed by AI is interesting! Is there
any website or link that I can access to see how AI is reviewing my patches
every time I send a patch? or is it something that is not very public yet?
Thanks,
Joonwon Kang