locking/lockdep: Deinline register_lock_class(), save 2328 bytes
authorDenys Vlasenko <dvlasenk@redhat.com>
Fri, 8 Apr 2016 18:58:46 +0000 (20:58 +0200)
committerIngo Molnar <mingo@kernel.org>
Wed, 13 Apr 2016 08:06:13 +0000 (10:06 +0200)
commitc003ed928962a55eb446e78c544b1d7c4f6cb88a
treef8350c60cd38f3a64948162214f519a65065bc1d
parentc1c33b92db4fb274dfbff778ccf2459e4bebd48e
locking/lockdep: Deinline register_lock_class(), save 2328 bytes

This function compiles to 1328 bytes of machine code. Three callsites.

Registering a new lock class is definitely not *that* time-critical to inline it.

Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: linux-kernel@vger.kernel.org
Link: http://lkml.kernel.org/r/1460141926-13069-5-git-send-email-dvlasenk@redhat.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
kernel/locking/lockdep.c