Re: [PATCH] locking/lockdep: Increase MAX_LOCKDEP_ENTRIES by half

From: Peter Zijlstra
Date: Tue May 26 2020 - 15:56:40 EST

On Tue, May 26, 2020 at 02:58:50PM -0400, Qian Cai wrote:

> I still don't understand why reading all sysfs files on this system
> could increase that much, but here is the lockdep file after
> running sysfs read to see if you could spot anything obviously,

00000000f011a2a5 OPS: 20 FD: 45 BD: 1 .+.+: kn->active#834

is that somewhere near the number of CPUs you have?

Anyway, there's very long "kn->active#..." chains in there, which seems
to suggest some annotation is all sorts of buggered.