OpenCloudOS-Kernel/kernel/debug
Eric Dumazet bd77c04772 module: struct module_ref should contains long fields
module_ref contains two "unsigned int" fields.

Thats now too small, since some machines can open more than 2^32 files.

Check commit 518de9b39e (fs: allow for more than 2^31 files) for
reference.

We can add an aligned(2 * sizeof(unsigned long)) attribute to force
alloc_percpu() allocating module_ref areas in single cache lines.

Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
CC: Rusty Russell <rusty@rustcorp.com.au>
CC: Tejun Heo <tj@kernel.org>
CC: Robin Holt <holt@sgi.com>
CC: David Miller <davem@davemloft.net>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2012-01-13 09:32:14 +10:30
..
kdb module: struct module_ref should contains long fields 2012-01-13 09:32:14 +10:30
Makefile kdb: core for kgdb back end (1 of 2) 2010-05-20 21:04:20 -05:00
debug_core.c atomic: use <linux/atomic.h> 2011-07-26 16:49:47 -07:00
debug_core.h debug_core: refactor locking for master/slave cpus 2010-10-22 15:34:13 -05:00
gdbstub.c kgdb: follow rename pack_hex_byte() to hex_byte_pack() 2011-10-31 17:30:56 -07:00