NetBSD-Bugs archive

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

Re: kern/50167: recent dksubr.c locking changes broke Xen



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

From: Manuel Bouyer <bouyer%antioche.eu.org@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: mlelstv%NetBSD.org@localhost
Subject: Re: kern/50167: recent dksubr.c locking changes broke Xen
Date: Sat, 29 Aug 2015 19:03:07 +0200

 On Fri, Aug 28, 2015 at 08:05:01PM +0000, Michael van Elst wrote:
 > The following reply was made to PR kern/50167; it has been noted by GNATS.
 > 
 > From: mlelstv%serpens.de@localhost (Michael van Elst)
 > To: gnats-bugs%netbsd.org@localhost
 > Cc: 
 > Subject: Re: kern/50167: recent dksubr.c locking changes broke Xen
 > Date: Fri, 28 Aug 2015 20:01:24 +0000 (UTC)
 > 
 >  bouyer%antioche.eu.org@localhost writes:
 >  
 >  >	recent changes to locking in dksubr.c broke Xen, because
 >  >	xbd(4) calls dk_start() from interrupt context:
 >  >(from http://www-soc.lip6.fr/~bouyer/NetBSD-tests/xen/HEAD/i386/201508230910Z_anita.txt)
 >  >mlock error: Mutex: mutex_vector_enter: locking against myself: lock 0xc129b09c cpu 0 lwp 0xc1505d40
 >  
 >  This is not interrupt context, but the start routine can call the done
 >  routine while locked. This should be fixed by now.
 >  
 >  Can you please verify?
 
 The 2015-08-28 08:40 UTC build could run anita tests for both i386 and
 amd64, so indeed it looks fixed.
 
 thanks !
 
 -- 
 Manuel Bouyer <bouyer%antioche.eu.org@localhost>
      NetBSD: 26 ans d'experience feront toujours la difference
 --
 


Home | Main Index | Thread Index | Old Index