| From | Linus Torvalds <> | Date | Thu, 7 Mar 2019 08:31:16 -0800 | Subject | Re: [PATCH 00/20] objtool: UACCESS validation v3 |
| |
On Thu, Mar 7, 2019 at 4:03 AM Peter Zijlstra <peterz@infradead.org> wrote: > > Take for instance this one (.config attached); it has both > CONFIG_PROFILE_ALL_BRANCHES=y and CONFIG_TRACE_BRANCH_PROFILING=y > and it compiles:
How about just turning off SMAP checking for the really odd cases?
At some point it's not worth worrying about excessive debug infrastructure, I think. Just give up and say "ok. we'll save/restore in preempt_schedule()".
Or just make preempt_schedule() check AC and not schedule. It already does that for IF.
Linus
|