From: Christian Ehrhardt on


On Sat, Mar 06, 2010 at 03:00:48AM +0100, Johannes Weiner wrote:
> What's with expand_stack()? This changes the radix index or the heap
> index, depending on the direction in which the stack grows, but it
> does not adjust the tree and so its order is violated. Did you make
> sure that this is fine?

Ooops! Thanks for the hint. Not only expand stack but also vma_adjust
(aka vma_merge) need to update the tree, I guess.

However, it is somewhat odd that this did not trigger anything in
my tests. I guess I have to come up with a testcase that properly
checks this case.

regards Christian

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo(a)
More majordomo info at
Please read the FAQ at