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



The following reply was made to PR kern/38375; it has been noted by GNATS.

From: matthew green <mrg%eterna.com.au@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: kern-bug-people%netbsd.org@localhost, gnats-admin%netbsd.org@localhost,
    netbsd-bugs%netbsd.org@localhost, he%NetBSD.org@localhost
Subject: re: kern/38375: LOCKDEBUG panic with 4.99.58 SMP kernels 
Date: Thu, 10 Apr 2008 02:16:47 +1000

    
     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