LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* [PATCH] stop c_p_a corrupting the pds
@ 2008-02-05 22:26 Hugh Dickins
  2008-02-05 22:27 ` [PATCH mm] " Hugh Dickins
  2008-02-06  8:26 ` [PATCH] " Ingo Molnar
  0 siblings, 2 replies; 5+ messages in thread
From: Hugh Dickins @ 2008-02-05 22:26 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: Ingo Molnar, Thomas Gleixner, Andi Kleen, linux-kernel

When change_page_attr splits a large page on x86_32 (without PAE), it is
currently corrupting every process's page directory: fix that by removing
the thinko which passes down a physical instead of a virtual address.

Signed-off-by: Hugh Dickins <hugh@veritas.com>

--- 2.6.24-git/arch/x86/mm/pageattr.c	2008-02-05 16:43:45.000000000 +0000
+++ linux/arch/x86/mm/pageattr.c	2008-02-05 21:34:18.000000000 +0000
@@ -237,7 +237,6 @@ static void __set_pmd_pte(pte_t *kpte, u
 	if (!SHARED_KERNEL_PMD) {
 		struct page *page;
 
-		address = __pa(address);
 		list_for_each_entry(page, &pgd_list, lru) {
 			pgd_t *pgd;
 			pud_t *pud;

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2008-02-06  8:27 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-02-05 22:26 [PATCH] stop c_p_a corrupting the pds Hugh Dickins
2008-02-05 22:27 ` [PATCH mm] " Hugh Dickins
2008-02-06  2:05   ` Valdis.Kletnieks
2008-02-06  4:49     ` Hugh Dickins
2008-02-06  8:26 ` [PATCH] " Ingo Molnar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).