lkml.org 
[lkml]   [2020]   [Dec]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH 4/6] locking/lockdep: Clean up check_redundant() a bit
From
Date
On Thu, 2020-12-10 at 15:42 +0100, Peter Zijlstra wrote:
[]
> /*
> @@ -2706,6 +2666,55 @@ static inline int check_irq_usage(struct
> }
> #endif /* CONFIG_TRACE_IRQFLAGS */
>
> +#ifdef CONFIG_LOCKDEP_SMALL
> +/*
> + * Check that the dependency graph starting at <src> can lead to
> + * <target> or not. If it can, <src> -> <target> dependency is already
> + * in the graph.
> + *
> + * Return BFS_RMATCH if it does, or BFS_RMATCH if it does not, return BFS_E* if
> + * any error appears in the bfs search.

Correction -- or BFS_RNOMATCH if it does not.

\
 
 \ /
  Last update: 2020-12-10 21:13    [W:0.357 / U:0.580 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site