Home
last modified time | relevance | path

Searched hist:"77 a806922cfdebcf3ae89d31a8b592a7f7fbe537" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/kernel/locking/
H A Dlockdep.cdiff 77a806922cfdebcf3ae89d31a8b592a7f7fbe537 Mon May 06 03:19:30 CDT 2019 Yuyang Du <duyuyang@gmail.com> locking/lockdep: Avoid constant checks in __bfs by using offset reference

In search of a dependency in the lock graph, there is contant checks for
forward or backward search. Directly reference the field offset of the
struct that differentiates the type of search to avoid those checks.

No functional change.

Signed-off-by: Yuyang Du <duyuyang@gmail.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: bvanassche@acm.org
Cc: frederic@kernel.org
Cc: ming.lei@redhat.com
Cc: will.deacon@arm.com
Link: https://lkml.kernel.org/r/20190506081939.74287-15-duyuyang@gmail.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>