mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] UML - Restrict tlb flushing
@ 2004-09-17  5:17 Jeff Dike
  0 siblings, 0 replies; only message in thread
From: Jeff Dike @ 2004-09-17  5:17 UTC (permalink / raw)
  To: akpm; +Cc: linux-kernel

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

Signed-off-by: Jeff Dike <jdike@addtoit.com>

Index: 2.6.9-rc2/arch/um/kernel/skas/tlb.c
===================================================================
--- 2.6.9-rc2.orig/arch/um/kernel/skas/tlb.c	2004-09-16 22:59:06.000000000 -0400
+++ 2.6.9-rc2/arch/um/kernel/skas/tlb.c	2004-09-16 23:09:24.000000000 -0400
@@ -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)){


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-09-17  4:16 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-09-17  5:17 [PATCH] UML - Restrict tlb flushing Jeff Dike

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®