]> Git Repo - linux.git/commit
ipc/sem: do not sleep with a spin lock held
authorMinghao Chi <[email protected]>
Fri, 4 Feb 2022 04:49:33 +0000 (20:49 -0800)
committerLinus Torvalds <[email protected]>
Fri, 4 Feb 2022 17:25:05 +0000 (09:25 -0800)
commit520ba724061cef59763e2b6f5b26e8387c2e5822
treea8ffcdba2940e3dbfbbd67f116b94cf220674a1d
parent314c459a6fe0957b5885fbc65c53d51444092880
ipc/sem: do not sleep with a spin lock held

We can't call kvfree() with a spin lock held, so defer it.

Link: https://lkml.kernel.org/r/[email protected]
Fixes: fc37a3b8b438 ("[PATCH] ipc sem: use kvmalloc for sem_undo allocation")
Reported-by: Zeal Robot <[email protected]>
Signed-off-by: Minghao Chi <[email protected]>
Reviewed-by: Shakeel Butt <[email protected]>
Reviewed-by: Manfred Spraul <[email protected]>
Cc: Arnd Bergmann <[email protected]>
Cc: Yang Guang <[email protected]>
Cc: Davidlohr Bueso <[email protected]>
Cc: Randy Dunlap <[email protected]>
Cc: Bhaskar Chowdhury <[email protected]>
Cc: Vasily Averin <[email protected]>
Cc: <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
ipc/sem.c
This page took 0.050485 seconds and 4 git commands to generate.