]> asedeno.scripts.mit.edu Git - linux.git/commit
locking/lockdep: Refactorize check_noncircular and check_redundant
authorYuyang Du <duyuyang@gmail.com>
Mon, 6 May 2019 08:19:35 +0000 (16:19 +0800)
committerIngo Molnar <mingo@kernel.org>
Mon, 3 Jun 2019 09:55:50 +0000 (11:55 +0200)
commit8c2c2b449aa50463ba4cc1f33cdfc98750ed03ab
tree086296a29b9ac514854a0fdff26819243a9cf42a
parentb4adfe8e05f15d7e73309c93c2c337df7eb5278f
locking/lockdep: Refactorize check_noncircular and check_redundant

These two functions now handle different check results themselves. A new
check_path function is added to check whether there is a path in the
dependency graph. 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-20-duyuyang@gmail.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
kernel/locking/lockdep.c