From: Eric Dumazet Date: Thu, 12 Jan 2012 23:02:14 +0000 (+1030) Subject: module: struct module_ref should contains long fields X-Git-Tag: v3.3-rc1~66^2~16 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bd77c04772da38fca510c81f78e51f727123b919;p=pandora-kernel.git 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 518de9b39e8 (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 CC: Rusty Russell CC: Tejun Heo CC: Robin Holt CC: David Miller Signed-off-by: Rusty Russell --- Reading git-diff-tree failed