mirror of
https://github.com/torvalds/linux.git
synced 2026-11-27 08:52:27 +00:00
notification_mutex is used to protect the list of pending events. As such there's no reason to use a sleeping lock for it. Convert it to a spinlock. [[email protected]: fixed version] Link: http://lkml.kernel.org/r/[email protected] Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Jan Kara <[email protected]> Reviewed-by: Lino Sanfilippo <[email protected]> Tested-by: Guenter Roeck <[email protected]> Cc: Miklos Szeredi <[email protected]> Cc: Eric Paris <[email protected]> Cc: Al Viro <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>