MSR: some random thoughts (it's saturday, sorry if they feel a , little week-endish...)

Lorenzo M. Catucci (lorenzo@argon.roma2.infn.it)
Sat, 15 Nov 1997 18:17:32 +0100 (CET)


Stephan, and the other,
at first, I think that MSR stuff should go into /proc/_PID_
pseudofiles, to make the owner of the process able to track its
performances. Since /proc/_PID_ is owned from the owner of the process,
all of the security issues could be stopped then. Tell me if I am wrong...
Second, I think that we should some way attempt to mimic the
performance saver idea from FPU context switch: don't save MSR status when
unneeded: just add a single flag to signal that some MSR was set/read, and
then do the expensive MSR save in context switch only if the flag is
enabled. I fear many people would otherwise avoid compiling MSR support
into the kernel.

Nice time to anybody...

Yours,

l.