Re: [PATCH v17 02/16] preempt: Track NMI nesting to separate per-CPU counter
From: Peter Zijlstra
Date: Wed Feb 04 2026 - 08:05:53 EST
On Wed, Feb 04, 2026 at 12:32:45PM +0000, Gary Guo wrote:
> On Wed Feb 4, 2026 at 11:12 AM GMT, Peter Zijlstra wrote:
> > On Tue, Feb 03, 2026 at 01:15:21PM +0100, Peter Zijlstra wrote:
> >> But I'm really somewhat sad that 64bit can't do better than this.
> >
> > Here, the below builds and boots (albeit with warnings because printf
> > format crap sucks).
>
> Hi Peter,
>
> I am not sure if it's worth the complexity to do this for the NMI code path.
> I don't think NMI code path is hot enough that this is necessary?
Perf uses NMI. Also, the 64bit code is actually simpler.