Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1657472

Re: [PATCH] xen-evtchn: Bind dyn evtchn:qemu-dm interrupt to next online VCPU

From Anoob Soman <anoob.soman@citrix.com>
Newsgroups linux.kernel
Subject Re: [PATCH] xen-evtchn: Bind dyn evtchn:qemu-dm interrupt to next online VCPU
Date 2017-06-05 12:00 +0200
Message-ID <tOWXM-1fC-13@gated-at.bofh.it> (permalink)
References <tNWdr-2wl-9@gated-at.bofh.it> <tNWwN-2UA-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 02/06/17 16:10, Juergen Gross wrote:
>
> I'd prefer the to have irq disabled from taking the lock until here.
> This will avoid problems due to preemption and will be faster as it
> avoids one irq on/off cycle. So:
>
> local_irq_disable();
> raw_spin_lock();
> ...
> raw_spin_unlock();
> this_cpu_write();
> xen_rebind_evtchn_to_cpu();
> local_irq_enable();
>
>
> Juergen


Agreed, I will send a V2 with your suggestion.


-Anoob.

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH] xen-evtchn: Bind dyn evtchn:qemu-dm interrupt to next online VCPU Anoob Soman <anoob.soman@citrix.com> - 2017-06-02 17:00 +0200
  Re: [PATCH] xen-evtchn: Bind dyn evtchn:qemu-dm interrupt to next  online VCPU Juergen Gross <jgross@suse.com> - 2017-06-02 17:20 +0200
    Re: [PATCH] xen-evtchn: Bind dyn evtchn:qemu-dm interrupt to next  online VCPU Anoob Soman <anoob.soman@citrix.com> - 2017-06-05 12:00 +0200
  Re: [PATCH] xen-evtchn: Bind dyn evtchn:qemu-dm interrupt to next  online VCPU Boris Ostrovsky <boris.ostrovsky@oracle.com> - 2017-06-02 18:30 +0200
    Re: [PATCH] xen-evtchn: Bind dyn evtchn:qemu-dm interrupt to next  online VCPU Anoob Soman <anoob.soman@citrix.com> - 2017-06-05 12:20 +0200
      Re: [PATCH] xen-evtchn: Bind dyn evtchn:qemu-dm interrupt to next  online VCPU Boris Ostrovsky <boris.ostrovsky@oracle.com> - 2017-06-05 16:20 +0200
        Re: [Xen-devel] [PATCH] xen-evtchn: Bind dyn evtchn:qemu-dm interrupt  to next online VCPU Anoob Soman <anoob.soman@citrix.com> - 2017-06-05 16:50 +0200
          Re: [Xen-devel] [PATCH] xen-evtchn: Bind dyn evtchn:qemu-dm interrupt  to next online VCPU Boris Ostrovsky <boris.ostrovsky@oracle.com> - 2017-06-05 17:40 +0200
            Re: [Xen-devel] [PATCH] xen-evtchn: Bind dyn evtchn:qemu-dm interrupt  to next online VCPU Anoob Soman <anoob.soman@citrix.com> - 2017-06-05 18:20 +0200
              Re: [Xen-devel] [PATCH] xen-evtchn: Bind dyn evtchn:qemu-dm interrupt  to next online VCPU Boris Ostrovsky <boris.ostrovsky@oracle.com> - 2017-06-05 18:50 +0200
                Re: [Xen-devel] [PATCH] xen-evtchn: Bind dyn evtchn:qemu-dm interrupt  to next online VCPU Anoob Soman <anoob.soman@citrix.com> - 2017-06-05 19:20 +0200

csiph-web