diff options
| author | Anton Blanchard <[email protected]> | 2016-10-01 20:41:56 +1000 |
|---|---|---|
| committer | Michael Ellerman <[email protected]> | 2016-11-14 11:11:51 +1100 |
| commit | 5246adec59458b5d325b8e1462ea9ef3ead7f6ae (patch) | |
| tree | efb962662f83e50bb5eab32a249f8938e57f5974 /tools/perf/scripts/python | |
| parent | 9e607f72748ddc5620aeeb8d1f32f30c79b360b9 (diff) | |
powerpc/pseries: Use H_CLEAR_HPT to clear MMU hash table during kexec
An hcall was recently added that does exactly what we need during kexec
- it clears the entire MMU hash table, ignoring any VRMA mappings.
Try it and fall back to the old method if we get a failure.
On a POWER8 box with 5TB of memory, this reduces the time it takes to
kexec a new kernel from from 4 minutes to 1 minute.
Signed-off-by: Anton Blanchard <[email protected]>
Tested-by: Mahesh Salgaonkar <[email protected]>
[mpe: Split into separate functions and tweak function naming]
Signed-off-by: Michael Ellerman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions