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

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Jiri Slaby <jirislaby@...>
Cc: Paul Gortmaker <p_gortmaker@...>, LKML <linux-kernel@...>, Andi Kleen <ak@...>, Alexey Dobriyan <adobriyan@...>
Date: Monday, January 14, 2008 - 12:07 pm

[Jiri Slaby - Mon, Jan 14, 2008 at 04:59:22PM +0100]

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?

		- Cyrill -
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] driver: ip27-rtc - convert ioctl to unlocked_ioctl, Cyrill Gorcunov, (Sun Jan 13, 4:32 pm)
Re: [PATCH] driver: ip27-rtc - convert ioctl to unlocked_ioctl, Cyrill Gorcunov, (Mon Jan 14, 12:07 pm)