[lkml]   [2002]   [Sep]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [PATCH] BUG(): sched.c: Line 944
    On Mon, 2002-09-16 at 19:45, Linus Torvalds wrote:

    > Ahhah! I know. You just make lock_depth 0 when you exit, without actually
    > taking the kernel lock. Which fools the logic into accepting a
    > preempt-disable, since it thinks that the preempt disable is due to
    > holding the kernel lock.

    I was this -> <- close to celebrating. Not so fast, smarty.

    What about release_kernel_lock() ?

    It sees task->lock_depth>=0 and calls spin_unlock() on a lock that it
    does not hold.

    Robert Love

    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-03-22 13:28    [W:0.023 / U:9.292 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site