tech-kern archive

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

Re: memcpy of struct buf, or similar?



Andrew Doran wrote:

> I am trying to fix PR 38761.  [ ... ]

FWIW, just sticking a

        KASSERT(mutex_owned(&bufcache_lock));

before each time b_cflags is modified fails to reach single user when it
hits genfs_getpages():

panic: kernel diagnostic assertion "mutex_owned(&bufcache_lock)" failed: file 
"../../../../miscfs/genfs/genfs_io.c", line 418

Cheers,
Simon.


Home | Main Index | Thread Index | Old Index