diff options
| author | Lai Jiangshan <[email protected]> | 2010-08-09 17:20:02 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2010-08-09 20:45:03 -0700 |
| commit | d9f8984c2c23b91e202a764fe4b15041a29a201a (patch) | |
| tree | d211f4ee42c5c0859f30d26296d053aac8df3657 /tools/perf/scripts/python | |
| parent | e31f3698cd3499e676f6b0ea12e3528f569c4fa3 (diff) | |
ksm: cleanup for mm_slots_hash
Use compile-allocated memory instead of dynamic allocated memory for
mm_slots_hash.
Use hash_ptr() instead divisions for bucket calculation.
Signed-off-by: Lai Jiangshan <[email protected]>
Signed-off-by: Izik Eidus <[email protected]>
Cc: Avi Kivity <[email protected]>
Cc: Andrea Arcangeli <[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