[lkml]   [2005]   [Sep]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    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.

    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2005-09-09 15:42    [W:0.036 / U:34.072 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site