Re: [PATCH 3/4] locking/lockdep: Reduce space occupied by stack traces

2019-07-24 Thread Bart Van Assche
On 7/23/19 9:56 PM, Eric Biggers wrote: Does this also fix any of the other bugs listed at https://lore.kernel.org/lkml/20190710055838.GC2152@sol.localdomain/ ? BUG: MAX_LOCKDEP_CHAIN_HLOCKS too low! BUG: MAX_LOCKDEP_CHAINS too low! BUG: MAX_LOCK_DEPTH too low! (2) BUG: MAX_LOCKDEP_ENTRIES too l

Re: [PATCH 3/4] locking/lockdep: Reduce space occupied by stack traces

2019-07-23 Thread Eric Biggers
On Mon, Jul 22, 2019 at 11:24:42AM -0700, Bart Van Assche wrote: > Although commit 669de8bda87b ("kernel/workqueue: Use dynamic lockdep keys > for workqueues") unregisters dynamic lockdep keys when a workqueue is > destroyed, a side effect of that commit is that all stack traces > associated with t

[PATCH 3/4] locking/lockdep: Reduce space occupied by stack traces

2019-07-22 Thread Bart Van Assche
Although commit 669de8bda87b ("kernel/workqueue: Use dynamic lockdep keys for workqueues") unregisters dynamic lockdep keys when a workqueue is destroyed, a side effect of that commit is that all stack traces associated with the lockdep key are leaked when a workqueue is destroyed. Fix this by stor