Re: [PATCH 1/1] alloc_tag: mark inaccurate allocation counters in /proc/allocinfo output
From: Andrew Morton
Date: Thu Sep 11 2025 - 17:31:33 EST
On Thu, 11 Sep 2025 12:00:23 -0400 Usama Arif <usamaarif642@xxxxxxxxx> wrote:
> > I think simply adding * to the end of function name or filename is sufficient
> > as they are already str.
> >
>
> Instead of:
>
> 49152* 48* arch/x86/kernel/cpu/mce/core.c:2709 func:mce_device_create
>
> Could we do something like:
>
> 49152 48 arch/x86/kernel/cpu/mce/core.c:2709 func:mce_device_create(inaccurate)
Can we add another row, saying "the previous row was inaccurate"? I
guess that would break parsers also.
I don't know if this was by design, but the present format does provide
extensibility. It is basically
NNNN NNN name:value name:value
one could arguably append a third name:value and hope that authors of
existing parsers figured this out.
Whatev. I'll drop this version from mm.git.