• Oleg Nesterov's avatar
    [PATCH] dup_mmap() double memory accounting · 6aaac55f
    Oleg Nesterov authored
    dup_mmap() unnecessarily tries to account for memory of the vma's it has
    created if it fails in the middle.
    
    However, that's pointless (and wrong), since the exit_mmap() path called
    through mmput() will do so anyway in the failure path.
    
    Just remove the bogus un-accounting code.
    6aaac55f
fork.c 31.7 KB