lkml.org 
[lkml]   [2008]   [Jun]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] rtc: remove BKL for ioctl()
On Wed, 25 Jun 2008 23:30:17 +0100
Alan Cox <alan@lxorguk.ukuu.org.uk> wrote:

> For an ioctl case which should never be blocking for long periods it
> shouldn't be _interruptible in the first place, that will just
> introduce bizarre and weird bugs in application code.

OTOH, my sysadmin youth left me with some painful memories of having to
reboot important systems to get rid of a process with some vital
resource in a D-state death grip. So I have a certain aversion to
putting uninterruptible waits in places where they aren't really
necessary.

Perhaps this is a good candidate for mutex_lock_killable()?

jon


\
 
 \ /
  Last update: 2008-06-26 01:45    [W:0.597 / U:0.056 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site