Messages in this thread | | | Subject | Re: [PATCH 4/6] locking/lockdep: Clean up check_redundant() a bit | From | Qian Cai <> | Date | Thu, 10 Dec 2020 15:09:51 -0500 |
| |
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.
| |