Skip to contentSkip to conversation

UML - Restrict tlb flushing

PATCH New Jeff Dike 1 participant 1 message Sep 17, 2004 User-mode Linux (UML)

lore
Share & tools
lore

Jeff Dike

author
#0 lore raw

PATCH 1/1 UML - Restrict tlb flushing

One of UML's tlb flushing routines was ignoring the address range passed in by its callers. This patch fixes that.

arch/um/kernel/skas/tlb.c +1 -1
Index: 2.6.9-rc2/arch/um/kernel/skas/tlb.c
===================================================================
@@ -77,7 +77,7 @@
 	int updated = 0, err;
 
 	mm = &init_mm;
-	for(addr = start_vm; addr < end_vm;){
+	for(addr = start; addr < end;){
 		pgd = pgd_offset(mm, addr);
 		pmd = pmd_offset(pgd, addr);
 		if(pmd_present(*pmd)){