[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <aa79d98a0801132238o72266a91p78ae3a0c1476607c@mail.gmail.com>
Date: Mon, 14 Jan 2008 09:38:57 +0300
From: "Cyrill Gorcunov" <gorcunov@...il.com>
To: "Jiri Slaby" <jirislaby@...il.com>
Cc: "Paul Gortmaker" <p_gortmaker@...oo.com>,
LKML <linux-kernel@...r.kernel.org>, "Andi Kleen" <ak@...e.de>,
"Alexey Dobriyan" <adobriyan@...il.com>
Subject: Re: [PATCH] driver: ip27-rtc - convert ioctl to unlocked_ioctl
This patch converts ioctl call to unlocked_ioctl form. It's possible
due to rtl_lock spinlock protection.
Signed-off-by: Cyrill Gorcunov <gorcunov@...il.com>
---
The patch is *not* tested but the patch does not bring _much_ changes
so it wouldn't break the compilation procedure.
If there is problem with attachment - i could send it as inline
form today evening.
Andi, Jiri, Alexey the only thing I do complain about -
is time set/read from several user threads that uses same
(duplicated) file descriptor. Could there be useless thread
spins instead of sleep (in case if this unlocked_ioctl were
protected by mutex)?
Download attachment "ip27-rtc-unlocked-ioctl.patch" of type "application/octet-stream" (1310 bytes)
Powered by blists - more mailing lists