[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <6595b15eba54cf5efc2ea801ea91c41681f33c61.camel@redhat.com>
Date: Thu, 10 Dec 2020 15:09:51 -0500
From: Qian Cai <qcai@...hat.com>
To: Peter Zijlstra <peterz@...radead.org>, mingo@...nel.org,
will@...nel.org, boqun.feng@...il.com
Cc: linux-kernel@...r.kernel.org, tglx@...utronix.de,
bigeasy@...utronix.de
Subject: Re: [PATCH 4/6] locking/lockdep: Clean up check_redundant() a bit
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.
Powered by blists - more mailing lists