ChangeSet 1.2231.1.75, 2005/03/28 19:37:27-08:00, [EMAIL PROTECTED]
[PATCH] x86_64: Minor fix to TLB flush IPI
Minor fix to TLB flush IPI
Fix minor harmless bug. When doing a flush IPI we used 0xffffffff as
the
catch all wildcard, which is a valid address in a 64bit process. When
this
page was flushed the IPI handler would do a full flush by mistake
instead of
just flushing the page. Use -1ULL instead.
Signed-off-by: Andi Kleen <[EMAIL PROTECTED]>
Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
Signed-off-by: Linus Torvalds <[EMAIL PROTECTED]>
smp.c | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
diff -Nru a/arch/x86_64/kernel/smp.c b/arch/x86_64/kernel/smp.c
--- a/arch/x86_64/kernel/smp.c 2005-03-28 21:22:59 -08:00
+++ b/arch/x86_64/kernel/smp.c 2005-03-28 21:22:59 -08:00
@@ -41,7 +41,7 @@
static struct mm_struct * flush_mm;
static unsigned long flush_va;
static DEFINE_SPINLOCK(tlbstate_lock);
-#define FLUSH_ALL 0xffffffff
+#define FLUSH_ALL -1ULL
/*
* We cannot call mmdrop() because we are in interrupt context,
-
To unsubscribe from this list: send the line "unsubscribe bk-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html