Re: Status of SMP?

Avi Kivity
2007-03-18T05:48:17Z

Nakajima, Jun wrote:
> Avi Kivity wrote:
>
>> I'd also like to add a read-only memory type so that apic reads can
>> proceed natively rather than be emulated (the TODO has this now).
>>
>
> I don't understand how this can work.

You're right - it can't. I thought all read accesses are static and
side-effect-free, but reading the timer is not static.

> Instead, we should use the
> hardware-based virtualization for the local APIC.
>

Can you point me at documentation for that? What I have only mentions
tpr/cr8 shadow, but not much else.

--
Do not meddle in the internals of kernels, for they are subtle and quick to panic.