aboutsummaryrefslogtreecommitdiffstats
path: root/net/switchdev/switchdev.c
diff options
context:
space:
mode:
authorKirill A. Shutemov <[email protected]>2016-02-24 15:58:03 +0000
committerLinus Torvalds <[email protected]>2016-02-24 18:46:30 +0000
commit2ac015e293bbe3858533009612eac58842daf325 (patch)
tree9875a35bbccd797295fdef0a9df4ae0e93dfb69e /net/switchdev/switchdev.c
parentMerge tag 'dm-4.5-fix' of git://git.kernel.org/pub/scm/linux/kernel/git/devic... (diff)
downloadkernel-2ac015e293bbe3858533009612eac58842daf325.tar.gz
kernel-2ac015e293bbe3858533009612eac58842daf325.zip
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 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions