Re: [PATCH -v2] rmap: make anon_vma_prepare link in all the anon_vmas of a mergeable VMA
From: Minchan Kim
Date: Wed Apr 07 2010 - 11:55:34 EST
On Wed, Apr 7, 2010 at 11:54 PM, Rik van Riel <riel@xxxxxxxxxx> wrote:
> When a new VMA has a mergeable anon_vma with a neighboring VMA,
> make sure all of the neighbor's old anon_vma structs are also
> linked in.
> This is necessary because at some point the VMAs could get merged,
> and we want to ensure no anon_vma structs get freed prematurely,
> while the system still has anonymous pages that belong to those
> Reported-by: Borislav Petkov <bp@xxxxxxxxx>
> Signed-off-by: Rik van Riel <riel@xxxxxxxxxx>
At last, you might find culprit.
AFAIU your descriptoin, don't we have to care vma_merge case, too?
Sorry if it is dumb question.
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/