diff options
author | Bibo Mao <[email protected]> | 2020-05-27 10:25:19 +0800 |
---|---|---|
committer | Thomas Bogendoerfer <[email protected]> | 2020-05-27 13:06:40 +0200 |
commit | 44bf431b47b4298d8aaba7b02d0ad29fc609a03c (patch) | |
tree | abdc24c53f8a9c2a7c283e799a44c29db145d780 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 7df676974359f927056b882e10a5b24d2033169b (diff) |
mm/memory.c: Add memory read privilege on page fault handling
Here add pte_sw_mkyoung function to make page readable on MIPS
platform during page fault handling. This patch improves page
fault latency about 10% on my MIPS machine with lmbench
lat_pagefault case.
It is noop function on other arches, there is no negative
influence on those architectures.
Signed-off-by: Bibo Mao <[email protected]>
Acked-by: Andrew Morton <[email protected]>
Signed-off-by: Thomas Bogendoerfer <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions