diff options
author | Thomas Gleixner <[email protected]> | 2018-09-17 16:29:17 +0200 |
---|---|---|
committer | Thomas Gleixner <[email protected]> | 2018-09-27 20:39:39 +0200 |
commit | 585948f4f695b07204702cfee0f828424af32aa7 (patch) | |
tree | d8f90973725db2e44b9ab90cf50d51f089040252 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 9cc9f17a5a0a8564b41b7c5c460e7f078c42d712 (diff) |
x86/mm/cpa: Avoid the 4k pages check completely
The extra loop which tries hard to preserve large pages in case of conflicts
with static protection regions turns out to be not preserving anything, at
least not in the experiments which have been conducted.
There might be corner cases in which the code would be able to preserve a
large page oaccsionally, but it's really not worth the extra code and the
cycles wasted in the common case.
Before:
1G pages checked: 2
1G pages sameprot: 0
1G pages preserved: 0
2M pages checked: 541
2M pages sameprot: 466
2M pages preserved: 47
4K pages checked: 514
4K pages set-checked: 7668
After:
1G pages checked: 2
1G pages sameprot: 0
1G pages preserved: 0
2M pages checked: 538
2M pages sameprot: 466
2M pages preserved: 47
4K pages set-checked: 7668
Signed-off-by: Thomas Gleixner <[email protected]>
Reviewed-by: Dave Hansen <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Bin Yang <[email protected]>
Cc: Mark Gross <[email protected]>
Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions