diff options
| author | Jianguo Wu <[email protected]> | 2014-01-23 15:53:19 -0800 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2014-01-23 16:36:52 -0800 |
| commit | c980e66a556659f14da2294e1fc696e1352b5d00 (patch) | |
| tree | d2c62f1c4bdb636abdba27e0258399eb21a9e1a2 /tools/perf/scripts/python | |
| parent | b30afea019a4548ee77b73e83f03104e0e3a0556 (diff) | |
mm: do_mincore() cleanup
Two cleanups:
1. remove redundant codes for hugetlb pages.
2. end = pmd_addr_end(addr, end) restricts [addr, end) within PMD_SIZE,
this may increase do_mincore() calls, remove it.
Signed-off-by: Jianguo Wu <[email protected]>
Acked-by: Johannes Weiner <[email protected]>
Cc: Minchan Kim <[email protected]>
Cc: qiuxishi <[email protected]>
Reviewed-by: 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')
0 files changed, 0 insertions, 0 deletions