[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <2f15f5ec-a3b0-1d64-0517-3e06da8f27bb@i-love.sakura.ne.jp>
Date: Sat, 23 Jan 2021 22:12:50 +0900
From: Tetsuo Handa <penguin-kernel@...ove.sakura.ne.jp>
To: Alexey Kardashevskiy <aik@...abs.ru>
Cc: Dmitry Vyukov <dvyukov@...gle.com>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Tejun Heo <tj@...nel.org>, Hillf Danton <hdanton@...a.com>
Subject: Re: BUG: MAX_LOCKDEP_KEYS too low!
On 2021/01/23 20:26, Alexey Kardashevskiy wrote:
> Should not the first 8192 from "grep lock-classes /proc/lockdep_stats" decrease
> after time (it does not), or once it has failed, it is permanent?
Since lockdep_unregister_key() becomes a no-op because graph_lock() returns 0
due to debug_locks being changed from 1 to 0 by __debug_locks_off() from
debug_locks_off() from debug_locks_off_graph_unlock(), lock-classes value in
/proc/lockdep_stats will not decrease after "BUG: MAX_LOCKDEP_KEYS too low!"
is printed.
Powered by blists - more mailing lists