diff options
author | Punit Agrawal <punit.agrawal@arm.com> | 2017-06-08 18:25:28 +0100 |
---|---|---|
committer | Will Deacon <will.deacon@arm.com> | 2017-06-12 16:04:29 +0100 |
commit | 0e3a9026396cd7d0eb5777ba923a8f30a3d9db19 (patch) | |
tree | a56b116717c88dc06c80cdd997be2c24efa9462b /arch/arm64/Kconfig | |
parent | e7c600f149b89e06073ab50f4f12e79828d3d2f0 (diff) | |
download | lwn-0e3a9026396cd7d0eb5777ba923a8f30a3d9db19.tar.gz lwn-0e3a9026396cd7d0eb5777ba923a8f30a3d9db19.zip |
arm64: mm: Update perf accounting to handle poison faults
Re-organise the perf accounting for fault handling in preparation for
enabling handling of hardware poison faults in subsequent commits. The
change updates perf accounting to be inline with the behaviour on
x86.
With this update, the perf fault accounting -
* Always report PERF_COUNT_SW_PAGE_FAULTS
* Doesn't report anything else for VM_FAULT_ERROR (which includes
hwpoison faults)
* Reports PERF_COUNT_SW_PAGE_FAULTS_MAJ if it's a major
fault (indicated by VM_FAULT_MAJOR)
* Otherwise, reports PERF_COUNT_SW_PAGE_FAULTS_MIN
Signed-off-by: Punit Agrawal <punit.agrawal@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'arch/arm64/Kconfig')
0 files changed, 0 insertions, 0 deletions