Re: [PATCH v4 02/39] task_work: Fix TWA_NMI_CURRENT race with __schedule()
Peter Zijlstra <[email protected]>
| Newsgroups | org.kernel.vger.linux-toolchains,org.kernel.vger.linux-kernel,org.kernel.vger.linux-perf-users,org.kernel.vger.linux-trace-kernel |
|---|---|
| Message-ID | <[email protected]> |
On Wed, Jan 22, 2025 at 02:14:30PM -0800, Josh Poimboeuf wrote: > On Wed, Jan 22, 2025 at 01:03:42PM -0800, Josh Poimboeuf wrote: > > The self-IPI is only needed when the NMI happened in user space, right? > > Would it make sense to have an optimized version of that? > > Actually, maybe not, that could be tricky if the NMI hits in the kernel > after task work runs. Right, I was going to say, lets keep this as simple as possible :-)