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

Re: [Xen-devel] do_iret bug in xen

raise_softirq is not the same as actually doing it. Raise only sets a bit indicating pending softirq. Before returning to the guest, the bin triggers actual execution of the softirq


   since "sti" is on, an interrupt can occur which can cause the
   control to enter "__runq_tickle", which then invokes
   "cpumask_raise_softirq(mask, SCHEDULE_SOFTIRQ)" to send IPI to a
   processor causing the control to enter "__enter_scheduler" which
changes the current.

Xen-devel mailing list



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