[issue2092] Panic: Bad link elm 0x... next->prev != elm

看板DFBSD_bugs作者時間14年前 (2011/06/29 17:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/10 (看更多)
Magliano Andrea <masterblaster@tiscali.it> added the comment: To revise my comment: TAILQ_EMPTY was already in camisr_runqueue(), so 0001-Optimize-isr-routine-from-FreeBSD-proved-to-work.patch has really nothing to do with locking issues, just a drop in optimization from FreeBSD Nevertheless 0002-TAILQ_EMPTY-now-done-in-camisr_runqueue-so-useless-h.patch still makes sense to me: in camisr_runqueue() 'while ((ccb_h = TAILQ_FIRST(&sim->sim_doneq)) != NULL)' lets TAILQ_FIRST != NULL make the same job as TAILQ_EMPTY, and here the queue macro is do protected by a spinlock ---------- status: unread -> chatting _____________________________________________________ DragonFly issue tracker <bugs@lists.dragonflybsd.org> <http://bugs.dragonflybsd.org/issue2092> _____________________________________________________
文章代碼(AID): #1E2l4L0b (DFBSD_bugs)
討論串 (同標題文章)
完整討論串 (本文為第 1 之 10 篇):
文章代碼(AID): #1E2l4L0b (DFBSD_bugs)