>>> "selected_cpu" needs to be protected, but I would like to avoid taking >>> a lock. One way to avoid taking lock (before >>> xen_rebind_evtchn_to_cpu()) would be to use >>> "local_port%num_present_cpus()" or " smp_processor_id()" as index into >>> cpumask_next. >> The latter sounds better to me --- there is a chance that the interrupts >> will be processed locally. >> >> -boris > > Did you mean using smp_processor_id() as index ?
I meant binding to smp_processor_id(). -boris _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org https://lists.xen.org/xen-devel