diff options
author | Matthew Wilcox (Oracle) <[email protected]> | 2020-11-21 22:17:22 -0800 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2020-11-22 10:48:22 -0800 |
commit | 66383800df9cbdbf3b0c34d5a51bf35bcdb72fd2 (patch) | |
tree | 8172ec6d41fcdbd0af75ce75135f793b52ce5125 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 488dac0c9237647e9b8f788b6a342595bfa40bda (diff) |
mm: fix madvise WILLNEED performance problem
The calculation of the end page index was incorrect, leading to a
regression of 70% when running stress-ng.
With this fix, we instead see a performance improvement of 3%.
Fixes: e6e88712e43b ("mm: optimise madvise WILLNEED")
Reported-by: kernel test robot <[email protected]>
Signed-off-by: Matthew Wilcox (Oracle) <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Tested-by: Xing Zhengjun <[email protected]>
Acked-by: Johannes Weiner <[email protected]>
Cc: William Kucharski <[email protected]>
Cc: Feng Tang <[email protected]>
Cc: "Chen, Rong A" <[email protected]>
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions