tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: rfc: a driver to access MSRs on i386



On Sun, Jan 24, 2010 at 01:13:10PM -0600, David Young wrote:
> Can you do without an ioctl for invoking rdmsr/wrmsr if you trap the
> instructions and simulate them in the kernel?

That is IMO a very bad idea, especially for wrmsr. This instructions
require proper access control and doing that in the fault handler sounds
like a very stupid idea.

Joerg


Home | Main Index | Thread Index | Old Index