Re: Re : vm: weird behaviour when munmapping

From: Hugh Dickins
Date: Mon Nov 20 2006 - 06:36:54 EST


On Mon, 20 Nov 2006, Francis Moreau wrote:
> On 11/18/06, Hugh Dickins <hugh@xxxxxxxxxxx> wrote:
> >
> > split_vma decides which address range will use the newly allocated
> > vm_area_struct in such a way as to suit its own convenience, and
>
> again I don't agree. I would say that do_munmap() decides which
> address range will use the new allocated vma object. split_vma() get
> this information through its parameter named "new_below".

Yes, you're right.

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