Re: [PATCH v2 0/3] some improvements for lockdep

From: Xiongwei Song
Date: Mon Jul 12 2021 - 05:05:02 EST


Hi Peter,

Will you pick up this series?

Regards,
Xiongwei

On Fri, Jun 18, 2021 at 10:55 PM Xiongwei Song <sxwjean@xxxxxx> wrote:
>
> 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
>