Re: splay tree and red-black tree for vm_map entry lookups.

看板DFBSD_kernel作者時間21年前 (2005/01/20 08:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串7/11 (看更多)
Whoops. There's something wrong with your hint patch. My buildworld died horribly on a seg-fault and on other issues. Also, I think the hint-setting optimization you made is broken. You can't just set it to entry->prev if the vm_map_lookup_entry() fails because first_entry could be pointing to the last entry in the list causing entry to point at &map->header and then the hint would point at the first entry in the list, which is probably wrong. I am continuing to test your non-hint patch with a buildworld loop. Once I'm sure it works properly I will revisit the hinting code. -Matt
文章代碼(AID): #11xlJ100 (DFBSD_kernel)
討論串 (同標題文章)
完整討論串 (本文為第 7 之 11 篇):
文章代碼(AID): #11xlJ100 (DFBSD_kernel)