udp mpsafe

看板DFBSD_kernel作者時間15年前 (2010/12/27 18:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/7 (看更多)
Hi all, Please review the devel^2 ~ devel^5 (inclusive) at: http://gitweb.dragonflybsd.org/~sephe/dragonfly.git/shortlog/refs/heads/devel The modification/accessing to the udbinfo is protected by two mechanism: 1) netisr barrier, which prevents code running in netisr from accessing udbinfo when the modification is going to happen 2) serializer, which prevents code not running in netisr (e.g. sysctl, interface detaching) from accessing udbinfo when the modification is going to happen 1) makes the udp input/output path lock free. Best Regards, sephe -- Tomorrow Will Never Die
文章代碼(AID): #1D66Fa91 (DFBSD_kernel)
文章代碼(AID): #1D66Fa91 (DFBSD_kernel)