aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorHugh Dickins <[email protected]>2009-12-14 17:58:48 -0800
committerLinus Torvalds <[email protected]>2009-12-15 08:53:16 -0800
commit7509765a29cfb1a4c506c09b304aaf3b4111c653 (patch)
tree1f2de5381e044b452653a3af0f32e403ffe51931 /tools/perf/scripts/python
parentaaa468653b4a0d11c603c48d716f765177a5a9e4 (diff)
swap_info: reorder its fields
Reorder (and comment) the fields of swap_info_struct, to make better use of its cachelines: it's good for swap_duplicate() in particular if unsigned int max and swap_map are near the start. Signed-off-by: Hugh Dickins <[email protected]> Cc: KAMEZAWA Hiroyuki <[email protected]> Cc: Rik van Riel <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions