Re: [PATCH] vm_area_struct slab corruption

Andrew Morton (
Thu, 6 Mar 2003 14:52:23 -0800

Hugh Dickins <> 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
More majordomo info at
Please read the FAQ at