mirror of
https://github.com/torvalds/linux.git
synced 2026-09-25 21:21:09 -04:00
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]>