Messages in this thread Patch in this message | | | Date | Sat, 17 Nov 2012 13:08:35 +0800 | Subject | [PATCH 1/5] balancenuma: fix typo in handling pmd numa fault | From | Hillf Danton <> |
| |
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@gmail.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); --
| |