]> 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)
commitadfc0cae9939fefd87eb4564c0f4a5837274e7ca
tree482f9f9344ca9854ab99444ba49dad7fb2df86bf
parentb61408671bf42e6dec6b9bbd08f7dc796bc764de
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