[PATCH v2 0/3] some improvements for lockdep

From: Xiongwei Song
Date: Fri Jun 18 2021 - 10:55:58 EST


From: Xiongwei Song <sxwjean@xxxxxxxxx>

Unlikely the checks of return values of graph walk will improve the
performance to some degree, patch 1 and patch 2 are for this.

The patch 3 will print a warning after counting lock deps when hitting
bfs errors.

v2:
* For patch 3, avoid to call lockdep_unlock() twice after counting deps.
Please see https://lkml.org/lkml/2021/6/17/741.

Xiongwei Song (3):
locking/lockdep: Unlikely bfs_error() inside
locking/lockdep: Unlikely conditons about BFS_RMATCH
locking/lockdep: Print possible warning after counting deps

kernel/locking/lockdep.c | 55 +++++++++++++++++++---------------------
1 file changed, 26 insertions(+), 29 deletions(-)

--
2.30.2