• Hugh Dickins's avatar
    [PATCH] shm_destroy lock hang · 960d4b34
    Hugh Dickins authored
    Martin Schwidefsky <schwidefsky@de.ibm.com> reported "Bug with shared
    memory" to LKML 14 May: hang due to schedule in truncate_list_pages
    called from .... shm_destroy holding shm_lock spinlock.  shm_destroy
    needs that lock for shm_rmid, but it can be safely unlocked once link
    from id to shp has been removed.
    960d4b34
shm.c 16.6 KB