summaryrefslogtreecommitdiffstats
path: root/mm/huge_memory.c
diff options
context:
space:
mode:
authorPeter Zijlstra <peterz@infradead.org>2013-10-07 11:28:41 +0100
committerIngo Molnar <mingo@kernel.org>2013-10-09 12:39:30 +0200
commitc69307d533d7aa7cc8894dbbb8a274599f8630d7 (patch)
tree874de2fc649ede70e52cf80e4e2fbb22ab5e9f84 /mm/huge_memory.c
parent10fc05d0e551146ad6feb0ab8902d28a2d3c5624 (diff)
downloadtalos-obmc-linux-c69307d533d7aa7cc8894dbbb8a274599f8630d7.tar.gz
talos-obmc-linux-c69307d533d7aa7cc8894dbbb8a274599f8630d7.zip
sched/numa: Fix comments
Fix a 80 column violation and a PTE vs PMD reference. Signed-off-by: Peter Zijlstra <peterz@infradead.org> Signed-off-by: Mel Gorman <mgorman@suse.de> Reviewed-by: Rik van Riel <riel@redhat.com> Cc: Andrea Arcangeli <aarcange@redhat.com> Cc: Johannes Weiner <hannes@cmpxchg.org> Cc: Srikar Dronamraju <srikar@linux.vnet.ibm.com> Link: http://lkml.kernel.org/r/1381141781-10992-4-git-send-email-mgorman@suse.de Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'mm/huge_memory.c')
-rw-r--r--mm/huge_memory.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/huge_memory.c b/mm/huge_memory.c
index 7489884682d8..19dbb08c64a5 100644
--- a/mm/huge_memory.c
+++ b/mm/huge_memory.c
@@ -1305,7 +1305,7 @@ int do_huge_pmd_numa_page(struct mm_struct *mm, struct vm_area_struct *vma,
spin_unlock(&mm->page_table_lock);
lock_page(page);
- /* Confirm the PTE did not while locked */
+ /* Confirm the PMD did not change while page_table_lock was released */
spin_lock(&mm->page_table_lock);
if (unlikely(!pmd_same(pmd, *pmdp))) {
unlock_page(page);
OpenPOWER on IntegriCloud