Re: [PATCH] driver: ip27-rtc - convert ioctl to unlocked_ioctl

Jiri Slaby
2008-01-14T16:27:17Z

On 01/14/2008 05:07 PM, Cyrill Gorcunov wrote:
> Yes, process would be stopped, and not *just* stopped but could spend
> all his cpu time-slice in attempt to get spinlock (espec if set time is
> much longer than read), but if we use mutex here the process could just
> sleep instead of trying to get spinlock granted. Am I wrong? Or this is
> not worth to do it?

I would say no. It'll spin only for nanoseconds there.