Re: [PATCH v3 3/4] uaccess: Check no rescheduling function is called in unsafe region
From: Peter Zijlstra
Date: Wed Feb 13 2019 - 10:08:28 EST
On Wed, Feb 13, 2019 at 03:40:00PM +0100, Peter Zijlstra wrote:
> So far, all 6 in-tree users are indeed free of dodgy code, but *groan*.
because of this, there must also not be tracepoints (even implicit ones
like function-trace) between user_access_{begin,end}().
And while that is unlikely with the current code; it is not guaranteed
afaict.
What a ff'ing mess.