Re: + stupid-hack-to-make-mainline-build.patch added to -mm tree

Chris Wright
2007-03-08T20:07:55Z

* Jeremy Fitzhardinge (jeremy@goop.org) wrote:
> Chris Wright wrote:
> > * Daniel Arai (arai@vmware.com) wrote:
> >
> >> There's no good way to override __send_IPI_shortcut. I suppose we could add
> >> paravirt ops for __send_IPI_shortcut and every other op that touches the APIC.
> >>
> >
> > While that's basically what we did in Xen, it would make more sense to
> > build it into genapic which would give us one common abstraction to base
> > from. We should avoid adding pv_ops when existing infrastructure exists.
>
> I was looking at cutting in at a much higher level. The interface in
> <linux/smp.h> is a good match for Xen, so I was going to investigate
> making pv_ops at that level and see how it falls out.

I agree with that, but I think that's esp. for things like create and launch
new vcpu. The IPI bit I'm not as clear on, nor running this all on native
as well.

thanks,
-chris