linux/arch/parisc/mm
Helge Deller b0e551313e parisc: Protect huge page pte changes with spinlocks
PA-RISC doesn't have atomic instructions to modify page table entries, so it
takes spinlock in the TLB handler and modifies the page table entry
non-atomically. If you modify the page table entry without the spinlock, you
may race with TLB handler on another CPU and your modification may be lost.
Protect against that with usage of purge_tlb_start() and purge_tlb_end() which
handles the TLB spinlock.

Signed-off-by: Helge Deller <deller@gmx.de>
Cc: stable@vger.kernel.org # v4.4
2016-01-16 19:19:14 +01:00
..
fault.c parisc: Additionally check for in_atomic() in page fault handler 2015-09-08 15:30:56 +02:00
hugetlbpage.c parisc: Protect huge page pte changes with spinlocks 2016-01-16 19:19:14 +01:00
init.c Merge branch 'parisc-4.4-2' of git://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux 2015-11-22 12:50:58 -08:00
ioremap.c
Makefile parisc: Add Huge Page and HUGETLBFS support 2015-11-22 12:23:10 +01:00