aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf
diff options
context:
space:
mode:
authorKirill A. Shutemov <[email protected]>2016-02-24 18:58:03 +0300
committerLinus Torvalds <[email protected]>2016-02-24 10:46:30 -0800
commit2ac015e293bbe3858533009612eac58842daf325 (patch)
tree9875a35bbccd797295fdef0a9df4ae0e93dfb69e /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf
parent84e54c46b2f440a365a5224f1e5f173a462b7cca (diff)
thp: call pmdp_invalidate() with correct virtual address
Sebastian Ott and Gerald Schaefer reported random crashes on s390. It was bisected to my THP refcounting patchset. The problem is that pmdp_invalidated() called with wrong virtual address. It got offset up by HPAGE_PMD_SIZE by loop over ptes. The solution is to introduce new variable to be used in loop and don't touch 'haddr'. Signed-off-by: Kirill A. Shutemov <[email protected]> Reported-and-tested-by: Gerald Schaefer <[email protected]> Reported-and-tested-by Sebastian Ott <[email protected]> Reviewed-by: Will Deacon <[email protected]> Cc: Christian Borntraeger <[email protected]> Cc: Martin Schwidefsky <[email protected]> Cc: Aneesh Kumar K.V <[email protected]> Cc: Andrea Arcangeli <[email protected]> Cc: Sasha Levin <[email protected]> Cc: Jerome Marchand <[email protected]> Cc: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf')
0 files changed, 0 insertions, 0 deletions