[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Xen-devel] [PATCH v2 5/6] virt, sched: add cpu pinning to smp_call_sync_on_phys_cpu()
- To: Jan Beulich <JBeulich@xxxxxxxx>, Juergen Gross <JGross@xxxxxxxx>
- From: David Vrabel <david.vrabel@xxxxxxxxxx>
- Date: Mon, 21 Mar 2016 14:14:03 +0000
- Cc: jeremy@xxxxxxxx, rusty@xxxxxxxxxxxxxxx, hpa@xxxxxxxxx, peterz@xxxxxxxxxxxxx, x86@xxxxxxxxxx, akataria@xxxxxxxxxx, linux-kernel@xxxxxxxxxxxxxxx, virtualization@xxxxxxxxxxxxxxxxxxxxxxxxxx, chrisw@xxxxxxxxxxxx, Jean Delvare <jdelvare@xxxxxxxx>, mingo@xxxxxxxxxx, Douglas_Warzecha@xxxxxxxx, pali.rohar@xxxxxxxxx, xen-devel@xxxxxxxxxxxxxxxxxxxx, tglx@xxxxxxxxxxxxx, boris.ostrovsky@xxxxxxxxxx, linux@xxxxxxxxxxxx
- Delivery-date: Mon, 21 Mar 2016 14:14:16 +0000
- List-id: Xen developer discussion <xen-devel.lists.xen.org>
On 21/03/16 13:42, Jan Beulich wrote:
>
> Also don't you need to call smp_processor_id() after preempt_disable()?
I suggest using get_cpu()/put_cpu() here.
David
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel
|