Re: [PATCH] vm_area_struct slab corruption

Andrew Morton (akpm@digeo.com)
Thu, 6 Mar 2003 14:52:23 -0800


Hugh Dickins <hugh@veritas.com> wrote:
>
> + * Note: mremap's move_vma VM_ACCOUNT handling assumes a partially
> + * unmapped vm_area_struct will remain in use: so lower split_vma
> + * places tmp vma above, and higher split_vma places tmp vma below.

Cough. Would it be clearer to just return the address of the surviving vma
from do_munmap()? Via an extra arg, or a PTR_ERR thingy?

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/