Files
Linux/kernel
Dmitry Vyukov f61e869d51 kcov: simplify interrupt check
in_interrupt() semantics are confusing and wrong for most users as it
also returns true when bh is disabled.  Thus we open coded a proper
check for interrupts in __sanitizer_cov_trace_pc() with a lengthy
explanatory comment.

Use the new in_task() predicate instead.

Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Dmitry Vyukov <[email protected]>
Cc: Kefeng Wang <[email protected]>
Cc: James Morse <[email protected]>
Cc: Alexander Popov <[email protected]>
Cc: Andrey Konovalov <[email protected]>
Cc: Hillf Danton <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
2017-05-08 17:15:12 -07:00
..
…
…
…
2017-01-12 07:01:56 -07:00
…
…
…
…
…
2017-05-08 17:15:12 -07:00
…
2017-04-21 20:30:46 +08:00
…
…
2017-04-21 22:46:25 -05:00
…
2016-12-22 22:58:37 -05:00
…