Re: MSR support for x86

Tim Hollebeek (tim@franck.Princeton.EDU)
Mon, 3 Mar 1997 14:05:18 -0500 (EST)


H. Peter Anvin writes ...
>
> > >
> > > I think /dev/msr on a multiprocessor should read the CPU the process
> > > is running on.
> >
> > That may be a different CPU at different points however.
> >
>
> Tricky situation. Maybe we should either have when the port is
> opened, or have /dev/msr0, /dev/msr1... on its own major #.

How about writing the cpu # you want to a field in
/dev/msr, then reading the stats?

---------------------------------------------------------------------------
Tim Hollebeek | Disclaimer :=> Everything above is a true statement,
Electron Psychologist | for sufficiently false values of true.
Princeton University | email: tim@wfn-shop.princeton.edu
----------------------| http://wfn-shop.princeton.edu/~tim (NEW! IMPROVED!)