Re: [PATCH v4 1/4] percpu: Fix wrong chunk hints update
From: Andrew Morton
Date: Fri May 08 2026 - 18:04:31 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);
| ^