]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitbf397ae86128d2b0d7a5a989d7ee46bfec748619
tree737814fa3368ed63e4cdb121d1ac2986bb54f4cd
parentaee5c6b92895f9595ad495d6c66f75f611b85a21
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