Re: [PATCH] perf: Fix oops when kthread execs user process
From: Peter Zijlstra
Date: Wed May 29 2019 - 13:07:05 EST
On Wed, May 29, 2019 at 05:38:54PM +0100, Mark Rutland wrote:
> Sorry for the noise.
n/p, confusion happens :-)
> Generally speaking though, if we ever task task_pt_regs() of an idle
> task we'll get junk, and user_mode() could be true.
Agreed, but we're not doing that.