Re: [PATCH 4/4] lockdep: make MAX_LOCK_DEPTH configurable from Kconfig

2017-09-30 Thread Govindarajulu Varadarajan
On Fri, 29 Sep 2017, Bjorn Helgaas wrote: On Thu, Sep 28, 2017 at 04:51:46PM -0700, Govindarajulu Varadarajan wrote: On Thu, 28 Sep 2017, Peter Zijlstra wrote: On Wed, Sep 27, 2017 at 02:42:20PM -0700, Govindarajulu Varadarajan wrote: Make MAX_LOCK_DEPTH configurable. It is set to 48 right

Re: [PATCH 4/4] lockdep: make MAX_LOCK_DEPTH configurable from Kconfig

2017-09-30 Thread Govindarajulu Varadarajan
On Fri, 29 Sep 2017, Bjorn Helgaas wrote: On Thu, Sep 28, 2017 at 04:51:46PM -0700, Govindarajulu Varadarajan wrote: On Thu, 28 Sep 2017, Peter Zijlstra wrote: On Wed, Sep 27, 2017 at 02:42:20PM -0700, Govindarajulu Varadarajan wrote: Make MAX_LOCK_DEPTH configurable. It is set to 48 right

Re: [PATCH 4/4] lockdep: make MAX_LOCK_DEPTH configurable from Kconfig

2017-09-29 Thread Bjorn Helgaas
On Thu, Sep 28, 2017 at 04:51:46PM -0700, Govindarajulu Varadarajan wrote: > On Thu, 28 Sep 2017, Peter Zijlstra wrote: > > >On Wed, Sep 27, 2017 at 02:42:20PM -0700, Govindarajulu Varadarajan wrote: > >>Make MAX_LOCK_DEPTH configurable. It is set to 48 right now. Number of > >>VFs under a PCI pf

Re: [PATCH 4/4] lockdep: make MAX_LOCK_DEPTH configurable from Kconfig

2017-09-29 Thread Bjorn Helgaas
On Thu, Sep 28, 2017 at 04:51:46PM -0700, Govindarajulu Varadarajan wrote: > On Thu, 28 Sep 2017, Peter Zijlstra wrote: > > >On Wed, Sep 27, 2017 at 02:42:20PM -0700, Govindarajulu Varadarajan wrote: > >>Make MAX_LOCK_DEPTH configurable. It is set to 48 right now. Number of > >>VFs under a PCI pf

Re: [PATCH 4/4] lockdep: make MAX_LOCK_DEPTH configurable from Kconfig

2017-09-28 Thread Govindarajulu Varadarajan
On Thu, 28 Sep 2017, Peter Zijlstra wrote: On Wed, Sep 27, 2017 at 02:42:20PM -0700, Govindarajulu Varadarajan wrote: Make MAX_LOCK_DEPTH configurable. It is set to 48 right now. Number of VFs under a PCI pf bus can exceed 48 and this disables lockdep. lockdep currently allows max of 63

Re: [PATCH 4/4] lockdep: make MAX_LOCK_DEPTH configurable from Kconfig

2017-09-28 Thread Govindarajulu Varadarajan
On Thu, 28 Sep 2017, Peter Zijlstra wrote: On Wed, Sep 27, 2017 at 02:42:20PM -0700, Govindarajulu Varadarajan wrote: Make MAX_LOCK_DEPTH configurable. It is set to 48 right now. Number of VFs under a PCI pf bus can exceed 48 and this disables lockdep. lockdep currently allows max of 63

Re: [PATCH 4/4] lockdep: make MAX_LOCK_DEPTH configurable from Kconfig

2017-09-28 Thread Peter Zijlstra
On Wed, Sep 27, 2017 at 02:42:20PM -0700, Govindarajulu Varadarajan wrote: > Make MAX_LOCK_DEPTH configurable. It is set to 48 right now. Number of > VFs under a PCI pf bus can exceed 48 and this disables lockdep. > > lockdep currently allows max of 63 held_locks. But why a config knob? Why not

Re: [PATCH 4/4] lockdep: make MAX_LOCK_DEPTH configurable from Kconfig

2017-09-28 Thread Peter Zijlstra
On Wed, Sep 27, 2017 at 02:42:20PM -0700, Govindarajulu Varadarajan wrote: > Make MAX_LOCK_DEPTH configurable. It is set to 48 right now. Number of > VFs under a PCI pf bus can exceed 48 and this disables lockdep. > > lockdep currently allows max of 63 held_locks. But why a config knob? Why not

[PATCH 4/4] lockdep: make MAX_LOCK_DEPTH configurable from Kconfig

2017-09-27 Thread Govindarajulu Varadarajan
Make MAX_LOCK_DEPTH configurable. It is set to 48 right now. Number of VFs under a PCI pf bus can exceed 48 and this disables lockdep. lockdep currently allows max of 63 held_locks. Signed-off-by: Govindarajulu Varadarajan --- fs/configfs/inode.c | 2 +-

[PATCH 4/4] lockdep: make MAX_LOCK_DEPTH configurable from Kconfig

2017-09-27 Thread Govindarajulu Varadarajan
Make MAX_LOCK_DEPTH configurable. It is set to 48 right now. Number of VFs under a PCI pf bus can exceed 48 and this disables lockdep. lockdep currently allows max of 63 held_locks. Signed-off-by: Govindarajulu Varadarajan --- fs/configfs/inode.c | 2 +- include/linux/sched.h| 3 +--