Re: [PATCH v5 12/17] perf: Skip user unwind if !current->mm
From: Steven Rostedt
Date: Thu Apr 24 2025 - 13:00:48 EST
On Thu, 24 Apr 2025 18:37:18 +0200
Peter Zijlstra <peterz@xxxxxxxxxxxxx> wrote:
> > Note from v4: https://lore.kernel.org/all/24cde1381495cd637f0d5663ab7629572bc0eca6.1737511963.git.jpoimboe@xxxxxxxxxx/
> >
> > - From the previous version, Peter Zijlstra brought up concern about
> > io_uring helpers, but this was never resolved. No update was made.
>
> What is there to resolve? If you want to check for kthreads, don't check
> for ->mm
I misunderstood what the issue was then ;-)
OK, so the check should be task->flags & PF_KTHREAD ?
-- Steve