Setting CPU affinity for current process on kernel module?
Martin Galvan
omgalvan.86 at gmail.com
Wed Sep 11 15:19:41 EDT 2019
El mié., 11 sept. 2019 a las 16:17, Bharath Vedartham
(<linux.bhar at gmail.com>) escribió:
> So one thing that pops to my head is using cgroups. Create a cgroup,
> modify the cpu file in cpusets cgroup and add the required task to it.
> But I am not sure whether you can do all of this from a kernel module...
Thanks, but that's not feasible. This should all be done
programmatically from the module, and be as minimally invasive as
possible.
More information about the Kernelnewbies
mailing list