[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAJxJ_jjn0i9pEOTXJUS=WTLAde-6-YwdQyijHvZ16nXpmQ2JNw@mail.gmail.com>
Date: Fri, 23 Jan 2026 23:06:07 +0800
From: Jianyue Wu <wujianyue000@...il.com>
To: akpm@...ux-foundation.org
Cc: shakeel.butt@...ux.dev, hannes@...xchg.org, mhocko@...nel.org,
roman.gushchin@...ux.dev, muchun.song@...ux.dev, linux-mm@...ck.org,
cgroups@...r.kernel.org, linux-kernel@...r.kernel.org, inwardvessel@...il.com
Subject: Re: [PATCH v4 1/1] mm: optimize stat output for 11% sys time reduce
On Fri, Jan 23, 2026 at 11:01 PM Jianyue Wu <wujianyue000@...il.com> wrote:
>
> Replace seq_buf_printf() calls in memcg stat formatting with a
> lightweight helper function and replace seq_printf() in numa stat
> output with direct seq operations to avoid printf format parsing
> overhead.
Seems I still need to add optimization for memcg_numa_stat_show(), though
the change there looks a bit complex, otherwise it didn't get enough perf gain..
Powered by blists - more mailing lists