Antonio Huete Jimenez <tuxi...@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 <b...@lists.dragonflybsd.org>
<http://bugs.dragonflybsd.org/issue2152>
_____________________________________________________

Reply via email to