]> git.neil.brown.name Git - history.git/commit
[PATCH] shm_destroy lock hang
authorHugh Dickins <hugh@veritas.com>
Wed, 24 Jul 2002 03:30:32 +0000 (20:30 -0700)
committerLinus Torvalds <torvalds@home.transmeta.com>
Wed, 24 Jul 2002 03:30:32 +0000 (20:30 -0700)
commit960d4b34b899a798f2b2089a3e5247973db00169
tree56e44ff46515332b474cfaceb5e51f45a3835378
parent7e9b34abc7a01c816ac0b4f4bcc26b2df6a2b1e2
[PATCH] shm_destroy lock hang

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.
ipc/shm.c