Re: MSR driver

David Woodhouse (dwmw2@cam.ac.uk)
Fri, 14 Nov 1997 11:53:38 +0000


hpa@transmeta.com said:
> Only if you take SMP into account (this applies to all methods.) It's
> no good if on an SMP machine you effectively end up setting MSR's on
> any random processor, which may change without notice.

> We may want to have a "cpu X only" system call (schedule only on a
> specific processor) for things that use per-processor features, such
> as RDTSC.)

Unless we store and set the MSR with the rest of the CPU state when we
schedule().

-- 
----                              ----                              ----
David Woodhouse, Robinson College, CB3 9AN, England.   (+44) 0976 658355
	dwmw2@cam.ac.uk		http://dwmw2.robinson.cam.ac.uk
	    finger pgp@dwmw2.robinson.cam.ac.uk for PGP key.