Re: [PATCH] sched/numa: Fix NULL pointer access to mm_struct durng task swap
From: Peter Zijlstra
Date: Thu Jul 03 2025 - 08:36:56 EST
On Thu, Jul 03, 2025 at 05:20:47AM -0700, Libo Chen wrote:
> I agree. The other parts, schedstat and vmstat, are still quite helpful.
> Also tracepoints are more expensive than counters once enabled, I think
> that's too much for just counting numbers.
I'm not generally a fan of eBPF, but supposedly it is really good for
stuff like this.
Attaching to a tracepoint and distributing into cgroup buckets seems
like it should be a trivial script.