• Hugh Dickins's avatar
    [PATCH] remove acct arg from do_munmap · a5271c10
    Hugh Dickins authored
    An acct flag was added to do_munmap, true everywhere but in mremap's
    move_vma: instead of updating the arch and driver sources, revert that
    that change and temporarily mask VM_ACCOUNT around that one do_munmap.
    
    Also, noticed that do_mremap fails needlessly if both shrinking _and_
    moving a mapping: update old_len to pass vm area boundaries test.
    a5271c10
shm.c 16.7 KB