]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
parisc: Optimize flush_kernel_vmap_range and invalidate_kernel_vmap_range
authorJohn David Anglin <dave.anglin@bell.net>
Sat, 11 Mar 2017 23:03:34 +0000 (18:03 -0500)
committerHelge Deller <deller@gmx.de>
Wed, 15 Mar 2017 19:57:33 +0000 (20:57 +0100)
commit316ec0624f951166daedbe446988ef92ae72b59f
treea8244e961645a0be283a7a451e32756a507ac01d
parent5f655322b1ba4bd46e26e307d04098f9c84df764
parisc: Optimize flush_kernel_vmap_range and invalidate_kernel_vmap_range

The previously submitted patch did not resolve the random segmentation
faults observed on the phantom buildd system.  There are still
unresolved problems with the Debian 4.8 and 4.9 kernels on C8000.

The attached patch removes the flush of the offset map pages and does a
whole data cache flush for large ranges.  No other arch flushes the
offset map in these routines as far as I can tell.

I have not observed any random segmentation faults on rp3440 in two
weeks of testing with 4.10.0 and 4.10.1.

Signed-off-by: John David Anglin <dave.anglin@bell.net>
Cc: stable@vger.kernel.org # v4.8+
Signed-off-by: Helge Deller <deller@gmx.de>
arch/parisc/include/asm/cacheflush.h
arch/parisc/kernel/cache.c