DragonFly bugs List (threaded) for 2011-10
[
Date Prev][
Date Next]
[Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
[issue2152] DFBSD v2.12.0.4.g2a52d-RELEASE - panic: assertion "curthread->td_critcount" failed in lwkt_process_ipiq_core
Antonio Huete Jimenez <tuxillo@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@lists.dragonflybsd.org>
<http://bugs.dragonflybsd.org/issue2152>
_____________________________________________________
[
Date Prev][
Date Next]
[Thread Prev][
Thread Next]
[
Date Index][
Thread Index]