diff options
author | 2020-05-27 10:25:19 +0800 | |
---|---|---|
committer | 2020-05-27 13:06:40 +0200 | |
commit | 44bf431b47b4298d8aaba7b02d0ad29fc609a03c (patch) | |
tree | abdc24c53f8a9c2a7c283e799a44c29db145d780 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | mm/memory.c: Update local TLB if PTE entry exists (diff) | |
download | linux-rng-44bf431b47b4298d8aaba7b02d0ad29fc609a03c.tar.xz linux-rng-44bf431b47b4298d8aaba7b02d0ad29fc609a03c.zip |
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 <maobibo@loongson.cn>
Acked-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions