lkml.org 
[lkml]   [2005]   [Sep]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 2.6.13: loop ioctl crashes
On Fri, Sep 09, 2005 at 08:32:10AM -0400, linux-os (Dick Johnson) wrote:
> I guess you are trying to do a copy_from_user() with a spin-lock
> being held or the interrupts otherwise disabled. You can hold
> a semaphore, to prevent somebody else from interfering with
> you, but you cannot hold a spin-lock during copy/to/from/user().

Well, I didn't write the code (it's right there in drivers/block/loop.c
in 2.6.13) and I can't see where there's a spin-lock. In fact it does
use a semaphore.

imc
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-09-09 15:42    [from the cache]
©2003-2011 Jasper Spaans. Advertise on this site