Files
Linux/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 <[email protected]>
CC: Rusty Russell <[email protected]>
CC: Tejun Heo <[email protected]>
CC: Robin Holt <[email protected]>
CC: David Miller <[email protected]>
Signed-off-by: Rusty Russell <[email protected]>
2012-01-13 09:32:14 +10:30
..
2011-07-26 16:49:47 -07:00
2010-05-20 21:04:20 -05:00