lkml.org 
[lkml]   [2013]   [Dec]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 3/9] mm/rmap: factor lock function out of rmap_walk_anon()
On Thu, Nov 28, 2013 at 04:48:40PM +0900, Joonsoo Kim wrote:
> When we traverse anon_vma, we need to take a read-side anon_lock.
> But there is subtle difference in the situation so that we can't use
> same method to take a lock in each cases. Therefore, we need to make
> rmap_walk_anon() taking difference lock function.
>
> This patch is the first step, factoring lock function for anon_lock out
> of rmap_walk_anon(). It will be used in case of removing migration entry
> and in default of rmap_walk_anon().
>
> Signed-off-by: Joonsoo Kim <iamjoonsoo.kim@lge.com>

Reviewed-by: Naoya Horiguchi <n-horiguchi@ah.jp.nec.com>


\
 
 \ /
  Last update: 2013-12-02 23:41    [W:0.116 / U:0.576 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site