• Andrew Morton's avatar
    [PATCH] More careful about VMA merging · 5a49258a
    Andrew Morton authored
    The VMA merging code can merge vmas which have a ->vm_ops->close() handler.
    But this means that per-VMA resources in one of the merged VMAs will not be
    freed.
    
    Fix that up by just refusing to merge any VMA's which look "complex": they
    have special flags set or they have a ->close handler.
    5a49258a
mmap.c 36.6 KB