diff options
author | Kirill A. Shutemov <kirill.shutemov@linux.intel.com> | 2016-02-24 18:58:03 +0300 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2016-02-24 10:46:30 -0800 |
commit | 2ac015e293bbe3858533009612eac58842daf325 (patch) | |
tree | 9875a35bbccd797295fdef0a9df4ae0e93dfb69e /fs/xattr.c | |
parent | 84e54c46b2f440a365a5224f1e5f173a462b7cca (diff) | |
download | linux-2ac015e293bbe3858533009612eac58842daf325.tar.gz linux-2ac015e293bbe3858533009612eac58842daf325.tar.bz2 linux-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 <kirill.shutemov@linux.intel.com>
Reported-and-tested-by: Gerald Schaefer <gerald.schaefer@de.ibm.com>
Reported-and-tested-by Sebastian Ott <sebott@linux.vnet.ibm.com>
Reviewed-by: Will Deacon <will.deacon@arm.com>
Cc: Christian Borntraeger <borntraeger@de.ibm.com>
Cc: Martin Schwidefsky <schwidefsky@de.ibm.com>
Cc: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Cc: Andrea Arcangeli <aarcange@redhat.com>
Cc: Sasha Levin <sasha.levin@oracle.com>
Cc: Jerome Marchand <jmarchan@redhat.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/xattr.c')
0 files changed, 0 insertions, 0 deletions