jianhai / rpms / kernel

Forked from rpms/kernel 3 years ago
Clone
e293be
diff -up ./arch/x86/kernel/vm86_32.c.tlb ./arch/x86/kernel/vm86_32.c
e293be
--- ./arch/x86/kernel/vm86_32.c.tlb	2018-03-22 06:40:12.000000000 +0900
e293be
+++ ./arch/x86/kernel/vm86_32.c	2018-04-15 22:46:42.000000000 +0900
e293be
@@ -194,7 +194,7 @@ static void mark_screen_rdonly(struct mm
e293be
 	pte_unmap_unlock(pte, ptl);
e293be
 out:
e293be
 	up_write(&mm->mmap_sem);
e293be
-	flush_tlb();
e293be
+	flush_tlb_mm_range(mm, 0xA0000, 0xA0000 + 32*PAGE_SIZE, 0UL);
e293be
 }
e293be
 
e293be