Re: git: kernel - Add MONITOR/MWAIT support to the LWKT schedule

看板DFBSD_commit作者時間15年前 (2010/12/27 04:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串4/4 (看更多)
:This commit removes the RQF_IDLECHECK_WK_MASK check *before* :the CLI instruction when MONITOR/MWAIT is unavailable, because :of how C evaluates expressions. Some strange panic in vm_map_lookup() :started annoying me after upgrading the kernel recently, and :bisecting showed that this is the first commit with the problem. : :I'm running the kernel with the following change to see if it :fixes the panic, which usually takes several hours to be triggered. : :Best Regards, :YONETANI Tomokazu Theoretically it shouldn't matter. All that happens is that the splz() gets run while in CLI and then the WK_MASK check after that prevents the idle thread from halting. What's the strange panic in vm_map_lookup()? The changes might be revealing other bugs which have been present for a longer period of time rather than being bugs themselves. In anycase, this week I will try to work through all the reported bugs. I was able to reproduce the 'lockmgr: locking against myself' bug using your grep --mmap test. I'll try to track that down in what little time I have today. I will have a lot more time to work on things this coming week. -Matt
文章代碼(AID): #1D5vy1AV (DFBSD_commit)
文章代碼(AID): #1D5vy1AV (DFBSD_commit)