Re: [PATCH 1/2] mm/page_alloc: add tracepoints for zone->lock acquisitions

From: Andrew Morton

Date: Fri May 08 2026 - 13:31:34 EST


e .configOn Fri, 8 May 2026 18:22:06 +0200 hawk@xxxxxxxxxx wrote:

> Add tracepoints to the page allocator fast paths that acquire
> zone->lock, allowing diagnosis of lock contention in production.

Thanks, I'm surprised we haven't done this yet.

Unfortunately "mm: use spinlock guards for zone lock" messed this up
(https://lore.kernel.org/all/cover.1777462630.git.d@xxxxxxxxxxxx/).

So please let's give it a few days for reviewers to comment then redo
against mm.git's mm-unstable branch?