[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH for-next v3 10/22] x86/traps: delcare percpu softirq_trap



On Wed, May 31, 2017 at 05:46:32AM -0600, Jan Beulich wrote:
> >>> On 31.05.17 at 13:35, <wei.liu2@xxxxxxxxxx> wrote:
> > On Mon, May 29, 2017 at 09:49:47AM -0600, Jan Beulich wrote:
> >> >>> On 18.05.17 at 19:09, <wei.liu2@xxxxxxxxxx> wrote:
> >> > It needs to be non-static when we split PV specific code out.
> >> 
> >> I don't follow here: The variable is used by send_guest_trap() to
> >> communicate with its helper nmi_mce_softirq(). How would you
> >> move one without the other?
> > 
> > I chose to not move nmi_mce_softirq, which is needed by trap_init, hence
> > this patch.
> > 
> > Your suggestion will require nmi_mce_softirq to be exported via a header
> > (and possibly prefix with pv_). I'm fine with that, too.
> 
> No, it's still a private helper. If anything there'll need to be part
> of trap_init() split off to e.g. pv_trap_init().
> 

NP. I will see what I can do.

> Jan
> 

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
https://lists.xen.org/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.