[issue2152] DFBSD v2.12.0.4.g2a52d-RELEASE - panic: assertion "curthread->td_critcount" failed in lwkt_process_ipiq_core
Antonio Huete Jimenez (via DragonFly issue tracker)
sinknull at leaf.dragonflybsd.org
Mon Oct 17 05:39:31 PDT 2011
Antonio Huete Jimenez <tuxillo at quantumachine.net> added the comment:
I've noticed that lwkt_process_ipiq uses to be called within a critical section,
but that doesn't happen in pmap_interlock_wait. Is there any reason for that?
3485 void
3486 pmap_interlock_wait(struct vmspace *vm)
3487 {
3488 struct pmap *pmap = &vm->vm_pmap;
3489
3490 if (pmap->pm_active & CPUMASK_LOCK) {
3491 DEBUG_PUSH_INFO("pmap_interlock_wait");
3492 while (pmap->pm_active & CPUMASK_LOCK) {
3493 cpu_pause();
3494 cpu_ccfence();
3495 lwkt_process_ipiq();
3496 }
3497 DEBUG_POP_INFO();
3498 }
3499 }
----------
status: unread -> chatting
_____________________________________________________
DragonFly issue tracker <bugs at lists.dragonflybsd.org>
<http://bugs.dragonflybsd.org/issue2152>
_____________________________________________________
More information about the Bugs
mailing list