[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH v3] x86/apicv: fix RTC periodic timer and apicv issue
>>> On 20.12.16 at 06:37, <kevin.tian@xxxxxxxxx> wrote: >> From: Xuquan (Quan Xu) [mailto:xuquan8@xxxxxxxxxx] >> Sent: Friday, December 16, 2016 5:40 PM >> - if (pt_vector != -1) >> - vmx_set_eoi_exit_bitmap(v, pt_vector); >> + if ( pt_vector != -1 ) { >> + if ( intack.vector > pt_vector ) >> + vmx_set_eoi_exit_bitmap(v, intack.vector); >> + else >> + vmx_set_eoi_exit_bitmap(v, pt_vector); >> + } > > Above can be simplified as one line change: > if ( pt_vector != -1 ) > vmx_set_eoi_exit_bitmap(v, intack.vector); Hmm, I don't understand. Did you mean to use max() here? Or else how is this an equivalent of the originally proposed code? Jan _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx https://lists.xen.org/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |