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: Takeshi Nakayama <tn%catvmics.ne.jp@localhost>
To: ad%netbsd.org@localhost
Cc: gnats-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 00:36:21 +0900 (JST)

 I found a suspicious unlock in startlwp by code inspection of
 sparc64 MD.
 
 Is it safe to remove?
 
 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