Setting CPU affinity for current process on kernel module?

Greg KH greg at kroah.com
Fri Sep 13 10:13:32 EDT 2019


On Fri, Sep 13, 2019 at 09:56:24AM -0300, Martin Galvan wrote:
> El vie., 13 sept. 2019 a las 9:55, Greg KH (<greg at kroah.com>) escribió:
> > And doing what with that information?  We have a msr driver for
> > userspace access to those values, does that not work correctly for you?
> 
> My use case requires this to be done in kernel space.

So, again, I hate to ask but _why_ do you need access to the msr from
within the kernel?  What useful information can you do with that?  Do
you have a pointer to your code anywhere?

thanks,

greg k-h



More information about the Kernelnewbies mailing list