NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

re: kern/38375: LOCKDEBUG panic with 4.99.58 SMP kernels



   
    I found a suspicious unlock in startlwp by code inspection of
    sparc64 MD.
    
    Is it safe to remove?

looks like it isn't in other startlwp.  good find.


.mrg.
    
    Index: syscall.c
    ===================================================================
    RCS file: /cvsroot/src/sys/arch/sparc64/sparc64/syscall.c,v
    retrieving revision 1.27
    diff -u -d -p -r1.27 syscall.c
    --- syscall.c       7 Apr 2008 14:18:11 -0000       1.27
    +++ syscall.c       9 Apr 2008 15:25:03 -0000
    @@ -505,6 +505,5 @@ startlwp(void *arg)
     #endif
        pool_put(&lwp_uc_pool, uc);
     
    -   KERNEL_UNLOCK_LAST(l);
        userret(l, 0, 0);
     }
    
    -- Takeshi Nakayama
    
   


Home | Main Index | Thread Index | Old Index