On Thu, Sep 12, 2019 at 11:03:20AM -0300, Martin Galvan wrote: > El jue., 12 sept. 2019 a las 6:26, Bharath Vedartham > (<linux.bhar@xxxxxxxxx>) escribió: > > Just to be clear, What do you mean by current process. Is it the process > > which is executing the kernel module? That would be a kernel thread I > > believe or do you want to be able to set the cpu affinity for any > > process given its PID? > > And are you looking at setting CPU affinity of kernel threads or user > > threads. > > Sorry, I wasn't clear: I want to set the affinity of 'current', which > is a kernel thread. I really hate to ask, but _why_ do you feel that this is the correct solution to your problem? What is the problem you are attempting to solve by doing this? thanks, greg k-h _______________________________________________ Kernelnewbies mailing list Kernelnewbies@xxxxxxxxxxxxxxxxx https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies