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

From: Chris Wright
Date: Thu Mar 08 2007 - 15:08:28 EST


* Jeremy Fitzhardinge (jeremy@xxxxxxxx) wrote:
> Chris Wright wrote:
> > * Daniel Arai (arai@xxxxxxxxxx) 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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/