[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAJd=RBDOAxWeEbjoLvHAt3=P-w1St84oHhfQ5gGox+GoEBF_6A@mail.gmail.com>
Date: Sat, 17 Nov 2012 13:08:35 +0800
From: Hillf Danton <dhillf@...il.com>
To: Mel Gorman <mgorman@...e.de>
Cc: LKML <linux-kernel@...r.kernel.org>,
Hillf Danton <dhillf@...il.com>
Subject: [PATCH 1/5] balancenuma: fix typo in handling pmd numa fault
s/ptep/pmdp/
Also a cleanup packed: use haddr directly.
Btw, will spin if you no longer need the debug trap.
Signed-off-by: Hillf Danton <dhillf@...il.com>
---
--- a/mm/huge_memory.c Sat Nov 17 11:37:36 2012
+++ b/mm/huge_memory.c Sat Nov 17 11:54:18 2012
@@ -1055,9 +1055,9 @@ clear_pmdnuma:
goto out_unlock;
pmd = pmd_mknonnuma(pmd);
- set_pmd_at(mm, addr & HPAGE_PMD_MASK, pmdp, pmd);
+ set_pmd_at(mm, haddr, pmdp, pmd);
VM_BUG_ON(pmd_numa(*pmdp));
- update_mmu_cache_pmd(vma, addr, ptep);
+ update_mmu_cache_pmd(vma, addr, pmdp);
out_unlock:
spin_unlock(&mm->page_table_lock);
--
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists