[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] the irq_enter in do_IRQ


  • To: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
  • From: "Jiang, Yunhong" <yunhong.jiang@xxxxxxxxx>
  • Date: Sat, 18 Sep 2010 10:22:53 +0800
  • Accept-language: en-US
  • Acceptlanguage: en-US
  • Cc: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • Delivery-date: Fri, 17 Sep 2010 19:23:42 -0700
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>
  • Thread-index: ActW2GY52z5eudSvQ3CQE+pPFskTvA==
  • Thread-topic: the irq_enter in do_IRQ

Hi, Keir, in do_IRQ,  why do we call the irq_enter only in __do_IRQ_guest and 
the action->handler(), instead of the whole flow of do_IRQ?

I asked this because we noticed a bug that the map/unmap_domain_page() is 
called in a interrupt handler's ack() method, which is not guarded by 
irq_enter(), thus the "ASSERT(!in_irq())" in map/unmap_domain_page() is not 
work expected to guard this calling.

Thanks
--jyh

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.