diff options
| author | Johannes Weiner <[email protected]> | 2010-05-24 14:32:09 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2010-05-25 08:06:58 -0700 |
| commit | 6a60f1b3588aef6ddceaa14192df475d430cce45 (patch) | |
| tree | 4469beefed2e610eef9204b1a4d63cddc5d9aae4 /tools/perf/scripts/python/syscall-counts-by-pid.py | |
| parent | c0ff7453bb5c7c98e0885fb94279f2571946f280 (diff) | |
mincore: cleanups
This fixes some minor issues that bugged me while going over the code:
o adjust argument order of do_mincore() to match the syscall
o simplify range length calculation
o drop superfluous shift in huge tlb calculation, address is page aligned
o drop dead nr_huge calculation
o check pte_none() before pte_present()
o comment and whitespace fixes
No semantic changes intended.
Signed-off-by: Johannes Weiner <[email protected]>
Cc: Andrea Arcangeli <[email protected]>
Cc: Naoya Horiguchi <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions