aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorEric Dumazet <[email protected]>2012-01-13 09:32:14 +1030
committerRusty Russell <[email protected]>2012-01-13 09:32:14 +1030
commitbd77c04772da38fca510c81f78e51f727123b919 (patch)
tree8554b40191d3d5adebbd2461d26450c0ed7295d4 /tools/perf/scripts/python
parent48fd11880b5ef04270be8a87d9a9a9ee2fdae338 (diff)
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 <[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]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions