Patch "parisc: Extend disabled preemption in copy_user_page" has been added to the 4.12-stable tree
Subsystems (2)
This is a note to let you know that I've just added the patch titled
parisc: Extend disabled preemption in copy_user_page
to the 4.12-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary
The filename of the patch is:
parisc-extend-disabled-preemption-in-copy_user_page.patch
and it can be found in the queue-4.12 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.
Quoted 1 line
From
56008c04ebc099940021b714da2d7779117cf6a7Mon Sep 17 00:00:00 2001
From: John David Anglin <[email protected]>
Date: Tue, 25 Jul 2017 17:23:35 -0400
Subject: parisc: Extend disabled preemption in copy_user_page
From: John David Anglin <[email protected]>
commit 56008c04ebc099940021b714da2d7779117cf6a7 upstream.
It's always bothered me that we only disable preemption in copy_user_page around the call to flush_dcache_page_asm. This patch extends this to after the copy.
--- arch/parisc/kernel/cache.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/parisc/kernel/cache.c +1 -1
@@ -453,8 +453,8 @@ void copy_user_page(void *vto, void *vfrbefore it can be accessed through the kernel mapping. */ preempt_disable ();flush_dcache_page_asm (__pa (vfrom), vaddr); -preempt_enable ();copy_page_asm (vto, vfrom); +preempt_enable (); }EXPORT_SYMBOL (copy_user_page);
Patches currently in stable-queue which might be from [email protected] are
queue-4.12/parisc-prevent-tlb-speculation-on-flushed-pages-on-cpus-that-only-support-equivalent-aliases.patch queue-4.12/parisc-extend-disabled-preemption-in-copy_user_page.patch