DragonFly kernel List (threaded) for 2009-05
DragonFly BSD
DragonFly kernel List (threaded) for 2009-05
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Problems with vnode locking/unlocking


From: Alex Hornung <ahornung@xxxxxxxxx>
Date: Tue, 26 May 2009 22:31:09 +0100

Hi,

I'm running into quite a lot of trouble with vnode locking and
unlocking, releasing, putting, getting, ... I'm 100% sure I got most if
not all of the vnode locking wrong and I reallly need some help
understanding it. It is still unclear to me what vnops need to do what
with regard to locking/unlocking.

My current code is here:
http://gitweb.dragonflybsd.org/~alexh/dragonfly.git/tree/9de1a66518d104077521a13d7b13ae958fd79d98:/sys/vfs/devfs

Right now my concerns are mainly in devfs_vnops.c, where all the
locking/unlocking/... occurs or should occur.

I'd appreciate some insight/comments/corrections/... on this issue!


Thank you in advance,

Alex Hornung




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