Re: [PATCH] vm_area_struct slab corruption

From: Andrew Morton (akpm@digeo.com)
Date: Thu Mar 06 2003 - 17:52:23 EST


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/



This archive was generated by hypermail 2b29 : Fri Mar 07 2003 - 22:00:34 EST