]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
consolidate WARN_...ONCE() static variables
authorJan Beulich <JBeulich@suse.com>
Fri, 23 Mar 2012 22:01:52 +0000 (15:01 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 23 Mar 2012 23:58:31 +0000 (16:58 -0700)
commit7ccaba5314caf3a2b1052edb3146ccc969b4d466
treeb2d2c6a0c188794bf334b163bd89d827c84c1462
parent10db4e1e4e9a910a26b94045660e5ba7e7c71419
consolidate WARN_...ONCE() static variables

Due to the alignment of following variables, these typically consume
more than just the single byte that 'bool' requires, and as there are a
few hundred instances, the cache pollution (not so much the waste of
memory) sums up.  Put these variables into their own section, outside of
any half way frequently used memory range.

Do the same also to the __warned variable of rcu_lockdep_assert().
(Don't, however, include the ones used by printk_once() and alike, as
they can potentially be hot.)

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/asm-generic/bug.h
include/asm-generic/vmlinux.lds.h
include/linux/rcupdate.h