Re: [PATCH 2/5] change direct call of spin_lock(anon_vma->lock) toinline function

From: Minchan Kim
Date: Thu May 27 2010 - 09:46:52 EST


On Wed, May 26, 2010 at 03:39:26PM -0400, Rik van Riel wrote:
> Subject: change direct call of spin_lock(anon_vma->lock) to inline function
>
> Subsitute a direct call of spin_lock(anon_vma->lock) with
> an inline function doing exactly the same.
>
> This makes it easier to do the substitution to the root
> anon_vma lock in a following patch.
>
> We will deal with the handful of special locks (nested,
> dec_and_lock, etc) separately.
>
> Signed-off-by: Rik van Riel <riel@xxxxxxxxxx>
> Acked-by: Mel Gorman <mel@xxxxxxxxx>
> Acked-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@xxxxxxxxxxxxxx>
Reviewed-by: Minchan Kim <minchan.kim@xxxxxxxxx>

--
Kind regards,
Minchan Kim
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/