linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/3] some improvements for lockdep
@ 2021-06-18 14:55 Xiongwei Song
  2021-06-18 14:55 ` [PATCH v2 1/3] locking/lockdep: Unlikely bfs_error() inside Xiongwei Song
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Xiongwei Song @ 2021-06-18 14:55 UTC (permalink / raw)
  To: peterz, mingo, will, longman, boqun.feng; +Cc: linux-kernel, Xiongwei Song

From: Xiongwei Song <sxwjean@gmail.com>

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


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2021-07-12  9:04 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-18 14:55 [PATCH v2 0/3] some improvements for lockdep Xiongwei Song
2021-06-18 14:55 ` [PATCH v2 1/3] locking/lockdep: Unlikely bfs_error() inside Xiongwei Song
2021-06-18 14:55 ` [PATCH v2 2/3] locking/lockdep: Unlikely conditons about BFS_RMATCH Xiongwei Song
2021-06-18 14:55 ` [PATCH v2 3/3] locking/lockdep: Print possible warning after counting deps Xiongwei Song
2021-06-24  8:03   ` Xiongwei Song
2021-06-24 13:45   ` Boqun Feng
2021-07-12  8:19 ` [PATCH v2 0/3] some improvements for lockdep Xiongwei Song

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).