Problems with vnode locking/unlocking

看板DFBSD_kernel作者時間16年前 (2009/05/27 06:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/4 (看更多)
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
文章代碼(AID): #1A76Qa00 (DFBSD_kernel)
文章代碼(AID): #1A76Qa00 (DFBSD_kernel)