lkml.org 
[lkml]   [2012]   [Nov]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
Subject[PATCH 1/5] balancenuma: fix typo in handling pmd numa fault
From
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);
--

\
 
 \ /
  Last update: 2012-11-17 07:01    [W:0.082 / U:0.704 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site