diff options
| author | Benjamin Herrenschmidt <[email protected]> | 2017-07-19 14:49:31 +1000 |
|---|---|---|
| committer | Michael Ellerman <[email protected]> | 2017-08-03 16:06:45 +1000 |
| commit | f3d96e698ed0f83d8faa35071ea9ca0a57e74c50 (patch) | |
| tree | 6597a1cf1224d3aa81eefd1b3a507e1b9bb317f5 /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | e6c8290a894bcaf0d8f06c504a04da3412a3cf55 (diff) | |
powerpc/mm: Overhaul handling of bad page faults
A bad page fault is when the HW signals an error such as a bad
copy/paste, an AMO error, or some other type of error that will
not be fixed by updating the PTE.
Use a helper page_fault_is_bad() to check for bad page faults thus
removing the per-processor family open-coding in __do_page_fault()
and trigger a SIGBUS rather than a SIGSEGV which is more appropriate.
Signed-off-by: Benjamin Herrenschmidt <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions