Re: Setting CPU affinity for current process on kernel module?

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

 



El mié., 11 sept. 2019 a las 16:17, Bharath Vedartham
(<linux.bhar@xxxxxxxxx>) 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.

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies




[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]

  Powered by Linux