sema replacement

看板DFBSD_kernel作者時間21年前 (2005/02/09 07:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/4 (看更多)
FreeBSD's new ATA code makes use of kernel counting semaphores (sema(9)) in the queuing code which don't seem to exist in DragonFly*. I think the serializing tokens are the replacement and wanted to see if a) that was the right approach and if so, b) do you use lockmgr or is it preferable to use the tokens directly. TIA * though, there does seem to be a private implementation in ffs_softdep.c -- Chuck Tuffli Agilent Technologies
文章代碼(AID): #122KIn00 (DFBSD_kernel)
文章代碼(AID): #122KIn00 (DFBSD_kernel)