]> git.baikalelectronics.ru Git - kernel.git/commit
lockdep: Prepare for noinstr sections
authorPeter Zijlstra <peterz@infradead.org>
Wed, 18 Mar 2020 13:22:03 +0000 (14:22 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Tue, 19 May 2020 13:47:21 +0000 (15:47 +0200)
commitd2d4fdbc7ae2e513356815b6b9540e59ceb789c5
tree482f9f9344ca9854ab99444ba49dad7fb2df86bf
parent742241d37480b19a99431224e40e18f5d3266648
lockdep: Prepare for noinstr sections

Force inlining and prevent instrumentation of all sorts by marking the
functions which are invoked from low level entry code with 'noinstr'.

Split the irqflags tracking into two parts. One which does the heavy
lifting while RCU is watching and the final one which can be invoked after
RCU is turned off.

Signed-off-by: Peter Zijlstra <peterz@infradead.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Alexandre Chartre <alexandre.chartre@oracle.com>
Link: https://lkml.kernel.org/r/20200505134100.484532537@linutronix.de
include/linux/irqflags.h
include/linux/sched.h
kernel/locking/lockdep.c
kernel/trace/trace_preemptirq.c
lib/debug_locks.c