Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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: fc37a3b ("[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]>
- Loading branch information