lkml.org 
[lkml]   [2012]   [Mar]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
Subject[PATCH] autonuma: release page_table_lock in scanning pmd
From
Only for unlikely corner case, unlock is added to pair lock.

Signed-off-by: Hillf Danton <dhillf@gmail.com>
---

--- a/mm/autonuma.c Sat Mar 17 11:01:50 2012
+++ b/mm/autonuma.c Tue Mar 20 19:58:44 2012
@@ -522,7 +522,8 @@ static int knumad_scan_pmd(struct mm_str
spin_unlock(&mm->page_table_lock);
goto out;
}
- }
+ } else
+ spin_unlock(&mm->page_table_lock);
}

VM_BUG_ON(!pmd_present(*pmd));
--

\
 
 \ /
  Last update: 2012-03-20 13:33    [W:0.024 / U:1.644 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site