HEADS UP - major structure size changes in HEAD

看板DFBSD_kernel作者時間15年前 (2010/06/07 02:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/9 (看更多)
The recent lwkt_token revamp significantly changes the size of miscellanious structures in the HEAD branch. A full kernel + modules recompile is recommended for people tracking HEAD. These lwkt_token changes will make it a lot easier for us to proceed on the MPSAFE work. The simplified API makes tokens much easier to work with now. The acquisition and release of recursive tokens is also now virtually free (not even atomic ops are needed), meaning that developers doing MPSAFE work can acquire a token multiple times in a deep call paths without having to worry about any loss of performance. This will make locking up the APIs a lot easier. We want to use tokens for locking up major system APIs with deep call paths (e.g. I/O, VM, PMAP, etc) because tokens are not subject to lock order reversals, so they can be acquired in any order. This is needed since these major system APIs call each other back and forth. -Matt Matthew Dillon <dillon@backplane.com>
文章代碼(AID): #1C2-9Z1K (DFBSD_kernel)
討論串 (同標題文章)
文章代碼(AID): #1C2-9Z1K (DFBSD_kernel)