[Lguest] SMP

Glauber de Oliveira Costa glommer at gmail.com
Thu Oct 11 08:00:44 EST 2007


On 10/10/07, ron minnich <rminnich at gmail.com> wrote:
> On 10/10/07, Glauber de Oliveira Costa <glommer at gmail.com> wrote:
> > On 10/10/07, ron minnich <rminnich at gmail.com> wrote:
> > > I just got this question put to me today, and I have not been paying
> > > attention to the list enough, but ... is anyone looking at SMP?
> >
> > I am.
> >
> > and it's basically hell on earth.
>
> I am wondering what SMP means on lguest. Does it mean, e.g., we
> emulate the APIC mess? I am not sure how to think about it, sometimes.
> I know it appears at first glance to be easier in plan 9 for sure. But
> I am not sure what it means from the host end.
>
> So what does it look like to you to make it go?
On the first try, I emulated part of it.

But after a while, I realized that using smp_ops may be well a better
aproach. (see xen/smp.c for an example) . The drawback is that it will
inevitally lead to more code duplication, but that can be thought of
later. The gains from bypassing a lot of useless stuff (besides the
maintanability) pays off, for sure. (this approach is what the code
that lies on our repo do, if you want to take a look to)

Actually, the kernel part of it is pretty much working. The
still-to-be-figured-out problems lies mostly in the hypervisor page
table code.

-- 
Glauber de Oliveira Costa.
"Free as in Freedom"
http://glommer.net

"The less confident you are, the more serious you have to act."



More information about the Lguest mailing list