tech-kern archive

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

Re: memcpy of struct buf, or similar?



On Mon, Jun 09, 2008 at 10:12:14PM +0100, Chris Gilbert wrote:
> I just had the same assert trigger:
> kernel diagnostic assertion "cv_has_waiters(&bp->b_done)" failed: file
> "../../../../kern/vfs_bio.c", line 1535
> 
> [...]
> Basically the KASSERT failed, yet ddb shows that the cv does have waiters.
> 
> Without knowing any better I'd say this is some wierd kind of cache/lock
> coherency issue, and well beyond my knowledge of x86 :)

could there be a missing x86_sfence() somewhere (or x86_lfence() on the
other side) ?

-- 
Manuel Bouyer, LIP6, Universite Paris VI.           
Manuel.Bouyer%lip6.fr@localhost
     NetBSD: 26 ans d'experience feront toujours la difference
--


Home | Main Index | Thread Index | Old Index