diff options
| author | Hugh Dickins <[email protected]> | 2009-12-14 17:59:18 -0800 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2009-12-15 08:53:19 -0800 |
| commit | 8dd3557a52f0bc8c960307721da307370ccad6fd (patch) | |
| tree | 711a15d188b6679026ae818bd0635d271820ea7e /tools/perf/scripts/python | |
| parent | 31e855ea7173bdb0520f9684580423a9560f66e0 (diff) | |
ksm: cleanup some function arguments
Cleanup: make argument names more consistent from cmp_and_merge_page()
down to replace_page(), so that it's easier to follow the rmap_item's page
and the matching tree_page and the merged kpage through that code.
In some places, e.g. break_cow(), pass rmap_item instead of separate mm
and address.
cmp_and_merge_page() initialize tree_page to NULL, to avoid a "may be used
uninitialized" warning seen in one config by Anil SB.
Signed-off-by: Hugh Dickins <[email protected]>
Cc: Izik Eidus <[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