lkml.org 
[lkml]   [2004]   [Nov]   [17]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Subject[PATCH] Trival patch - flush TLB when pagetable changed
FromLi Shaohua <>
DateWed, 17 Nov 2004 14:11:33 +0800
Hi,
Possibly it doesn't change anything here (it's low mem), but it's better to fix it.

Thanks,
Shaohua

===== arch/i386/kernel/acpi/sleep.c 1.6 vs edited =====
--- 1.6/arch/i386/kernel/acpi/sleep.c	2004-10-19 13:26:45 +08:00
+++ edited/arch/i386/kernel/acpi/sleep.c	2004-10-20 13:39:58 +08:00
@@ -27,6 +27,7 @@ static void init_low_mapping(pgd_t *pgd,
 		set_pgd(pgd, *(pgd+USER_PTRS_PER_PGD));
 		pgd_ofs++, pgd++;
 	}
+	flush_tlb_all();
 }
 
 /**

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:08    [from the cache]
©2003-2008