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

[Xen-devel] [PATCH] do_softirq() of Xen/IA64

context_switch() of Xen/IA64 returns unlike Xen/x86.
On the other hand xen vcpu switch is done by softirq drivern timer handler.
As a result smp_processor_id() may change on Xen/IA64 right after
calling a handler in do_softirq().
If it happens, do_softirq() touches another physical cpu's softirq_pending.
This patch fixes it.

It is needless to use smp_processor_id() twice on x86.
Should #ifndef be used around cpu = smp_processor_id()?
Or should something like __ARCH_HAVE_DO_SORTIRQ be introduced?


Attachment: 10521:42be9580779e_do_softirq_cpu.patch
Description: Text document

Xen-devel mailing list



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