Re: [PATCH 3/4] anon_vma: clone the anon_vma chain in the right order

From: Rik van Riel
Date: Mon Apr 12 2010 - 16:58:28 EST


On 04/12/2010 04:23 PM, Linus Torvalds wrote:

From: Linus Torvalds<torvalds@xxxxxxxxxxxxxxxxxxxx>
Date: Sun, 11 Apr 2010 17:15:03 -0700
Subject: [PATCH 3/4] anon_vma: clone the anon_vma chain in the right order

We want to walk the chain in reverse order when cloning it, so that the
order of the result chain will be the same as the order in the source
chain. When we add entries to the chain, they go at the head of the
chain, so we want to add the source head last.

Signed-off-by: Linus Torvalds<torvalds@xxxxxxxxxxxxxxxxxxxx>

Reviewed-by: Rik van Riel <riel@xxxxxxxxxx>

--
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/