Skip to contentSkip to conversation

Trival patch - flush TLB when pagetable changed

PATCH New Li Shaohua 1 participant 1 message Nov 17, 2004

lore
Share & tools
lore

Li Shaohua

author
#0 lore raw

PATCH 1/1 Trival patch - flush TLB when pagetable changed

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 =====

arch/i386/kernel/acpi/sleep.c +1 -0
@@ -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();
 }
 
 /**