• Hugh Dickins's avatar
    [PATCH] consolidate shmem_getpage and shmem_getpage_locked · 7aa8800b
    Hugh Dickins authored
    The distinction between shmem_getpage and shmem_getpage_locked is not
    helpful, particularly now info->sem is gone; and shmem_getpage
    confusingly tailored to shmem_nopage's expectations.  Put the code of
    shmem_getpage_locked into the frame of shmem_getpage, leaving its
    callers to unlock_page afterwards.
    7aa8800b
shmem.c 41.5 KB