lockdep: Limit static allocations if PROVE_LOCKING_SMALL is defined
authorBabu Moger <babu.moger@oracle.com>
Wed, 2 Nov 2016 16:36:33 +0000 (09:36 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 18 Nov 2016 19:33:19 +0000 (11:33 -0800)
commite245d99e6cc4a0b904b87b46b4f60d46fb405987
tree737814fa3368ed63e4cdb121d1ac2986bb54f4cd
parente6b5f1be7afe1657c40c08082c562b1a036a54c1
lockdep: Limit static allocations if PROVE_LOCKING_SMALL is defined

Reduce the size of data structure for lockdep entries by half if
PROVE_LOCKING_SMALL if defined. This is used only for sparc.

Signed-off-by: Babu Moger <babu.moger@oracle.com>
Acked-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
kernel/locking/lockdep_internals.h