diff options
author | Zhang Zhen <[email protected]> | 2014-12-12 16:55:33 -0800 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2014-12-13 12:42:47 -0800 |
commit | 71fbd556adde2795787a6ca4c16871e57efba847 (patch) | |
tree | a4302fe87369d15c20bcecd0b38d383af813cef8 /tools/perf/scripts/python/syscall-counts-by-pid.py | |
parent | 9dc00f4c4fdd1fab12a4da9a966e535b4284b0a4 (diff) |
memory-hotplug: remove redundant call of page_to_pfn
This is just a small optimization. The start_pfn can be obtained directly
by phys_index << PFN_SECTION_SHIFT. So the call of page_to_pfn() is
redundant and remove it.
Signed-off-by: Zhang Zhen <[email protected]>
Acked-by: Yasuaki Ishimatsu <[email protected]>
Acked-by: David Rientjes <[email protected]>
Cc: Dave Hansen <[email protected]>
Cc: Wang Nan <[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