lkml.org 
[lkml]   [1997]   [Mar]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: MSR support for x86
Date
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!)

\
 
 \ /
  Last update: 2005-03-22 13:39    [W:0.686 / U:0.896 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site