Re: [PATCH v5 2/7] task_work: Add TWA_NMI_CURRENT as an additional notify mode.

From: Sebastian Andrzej Siewior
Date: Fri Jul 05 2024 - 10:00:30 EST


On 2024-07-04 19:03:36 [+0200], To linux-perf-users@xxxxxxxxxxxxxxx wrote:
> diff --git a/kernel/task_work.c b/kernel/task_work.c
> index 2134ac8057a94..05fb41fe09f5d 100644
> --- a/kernel/task_work.c
> +++ b/kernel/task_work.c
> @@ -1,10 +1,19 @@
> // SPDX-License-Identifier: GPL-2.0
> +#include <linux/irq_work.h>
> #include <linux/spinlock.h>
> #include <linux/task_work.h>
> #include <linux/resume_user_mode.h>
> +#include <trace/events/ipi.h>

Just noticed that this trace include does not belong here. It is a
leftover from an earlier iteration where I intended to use
smp_send_reschedule() instead of irq_work…

Should I repost the series, or just this one?

Sebastian