Setting CPU affinity for current process on kernel module?

R. Engür Pişirici engur at bilkent.edu.tr
Thu Sep 19 01:43:10 EDT 2019


I'm sure that some of us(readers of the kernelNewbies e-mail list) 
really wants to understand the same thing Greg was asking.
Best Regards,

-engur



On 2019-09-13 17:13, Greg KH wrote:
> 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
> 
> _______________________________________________
> Kernelnewbies mailing list
> Kernelnewbies at kernelnewbies.org
> https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies



More information about the Kernelnewbies mailing list