|
|
|
|
|
|
|
|
|
|
xen-devel
[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?
Thanks
--
yamahata
10521:42be9580779e_do_softirq_cpu.patch
Description: Text document
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- [Xen-devel] [PATCH] do_softirq() of Xen/IA64,
Isaku Yamahata <=
|
|
|
|
|