Sneeze. Address of the surviving? I think you must mean address of
the vma now previous to what's been unmapped, NULL if none previous.
Hmm, could do that: it would make the interface between move_vma and
do_munmap less fragile. But it wouldn't make move_vma any clearer or
easier - can't make use of that previous vma without the same analysis
of cases as before.
If adding an extra arg, then the extra arg to add would be what Alan
did in 2.4-ac, int acct to control whether it does the VM_ACCOUNTing.
I resisted adding that (changing odd distant drivers), and I may have
been wrong to do so.
I'm just reluctant to make more change here at this moment, my focus
is elsewhere. I cannot approach move_vma without wanting to change
more than is safe to do in a rush: it should be using your newer
can_vma_merge_ stuff; does its merging have to look so complex?
needs to check if do_munmap failed and behave sanely if so.
But I can't let slab corruption and backtraces await my leisure.
Hugh
-
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/