summaryrefslogtreecommitdiff
path: root/security/selinux
diff options
context:
space:
mode:
authorGerald Schaefer <gerald.schaefer@de.ibm.com>2017-09-18 17:10:35 +0300
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2017-09-19 09:36:19 +0300
commit91c575b335766effa6103eba42a82aea560c365f (patch)
tree365f589e535fcd60a1e5bdd9c66b404fb8233d6a /security/selinux
parent55fb7347579017bdb09550b4e8019447340b7004 (diff)
downloadlinux-91c575b335766effa6103eba42a82aea560c365f.tar.xz
s390/mm: make pmdp_invalidate() do invalidation only
Commit 227be799c39a ("s390/mm: uninline pmdp_xxx functions from pgtable.h") inadvertently changed the behavior of pmdp_invalidate(), so that it now clears the pmd instead of just marking it as invalid. Fix this by restoring the original behavior. A possible impact of the misbehaving pmdp_invalidate() would be the MADV_DONTNEED races (see commits ced10803 and 58ceeb6b), although we should not have any negative impact on the related dirty/young flags, since those flags are not set by the hardware on s390. Fixes: 227be799c39a ("s390/mm: uninline pmdp_xxx functions from pgtable.h") Cc: <stable@vger.kernel.org> # v4.6+ Signed-off-by: Gerald Schaefer <gerald.schaefer@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'security/selinux')
0 files changed, 0 insertions, 0 deletions