Re: [PATCH 2/2] rmap: anon_vma_prepare: Reduce code duplication bycalling anon_vma_chain_link

From: Peter Zijlstra
Date: Fri Feb 17 2012 - 10:16:18 EST


On Fri, 2012-02-17 at 09:28 -0500, Kautuk Consul wrote:
> Reduce code duplication by calling anon_vma_chain_link from
> anon_vma_prepare.
>
> Also move the anon_vmal_chain_link function to a more suitable location
> in the file.
>
> Signed-off-by: Kautuk Consul <consul.kautuk@xxxxxxxxx>

Acked-by: Peter Zijlstra <a.p.zijlstra@xxxxxxxxx>
--
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/