Re: HEADS UP - major structure size changes in HEAD

看板DFBSD_kernel作者時間15年前 (2010/06/11 06:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串9/9 (看更多)
On 10/06/2010 05:16 쾀弮, Matthew Dillon wrote: [...] > For the most part these tokens are not going to be held for more than > 1uS or so, and often quite a bit less then that. This is because > most kernel operations only take long periods of time because they > actually block, and of course the token will be released if the thread > blocks. > > Take a vm_fault for example. The fault occurs and then blocks on I/O. > That might be 200ns. Then later on the I/O completes and the thread > wakes up and reacquires the token, then spends another 200ns with the > token held before returning from the fault. I was thinking more about a soft pagefault, where you might need to search the VM data structures, do a few allocations and wait for an IPI roundtrip (for the pagetable invalidation). Aggelos
文章代碼(AID): #1C4MVbZD (DFBSD_kernel)
討論串 (同標題文章)
文章代碼(AID): #1C4MVbZD (DFBSD_kernel)