Files
android_kernel_xiaomi_sm8450/arch/s390/include/asm
Gerald Schaefer 91c575b335 s390/mm: make pmdp_invalidate() do invalidation only
Commit 227be799c3 ("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: 227be799c3 ("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>
2017-09-19 08:36:19 +02:00
..
2014-03-04 10:41:04 +01:00
2016-01-12 20:47:05 +02:00
2017-03-22 08:29:05 +01:00
2017-07-20 12:31:04 +02:00
2016-06-13 15:58:23 +02:00
2017-03-31 12:55:12 +02:00
2016-03-07 16:54:32 +01:00
2015-10-14 14:32:15 +02:00
2017-06-20 15:44:15 -04:00
2017-05-03 09:08:57 +02:00
2017-06-28 06:54:31 -07:00
2013-01-08 10:57:09 +01:00
2017-03-28 18:23:55 -04:00
2016-06-13 15:58:17 +02:00
2013-11-13 20:21:46 +01:00
2016-06-13 15:58:24 +02:00
2016-01-19 12:14:01 +01:00
2017-08-03 13:16:28 +02:00
2015-08-03 18:40:25 +02:00
2017-08-02 11:15:34 +02:00
2016-01-26 12:45:49 +01:00
2015-03-25 11:49:33 +01:00
2017-04-21 11:08:04 +02:00
2016-06-13 15:58:21 +02:00
2016-10-17 11:25:25 +02:00
2012-11-30 17:47:28 +01:00