Files
ethercat/master
Matthias Schoepfer e6d842cc8f master: added 'run_on_cpu' module parameter to bind kthreads to a cpu
When you use isolcpus to isolate a cpu for the realtime task, as well
as assiging all relevant interrupts to this cpu, it makes sense to
also bind the EtherCAT-OP / EtherCAT-IDLE task to this cpu to reduce
the cache misses and avoid data migration between cores. Therefore
a parameter 'run_on_cpu' is added, that takes the cpu number (same as
in isolcpus, not a smp_affinity mask). If unset, will bind to any cpu
and will be migratable.

The reason to put this into the kernel module is, that the thread is
created during runtime, i.e. when the userspace program is starting
the ethercat master. It would be rather hacky, to find the pid of the
EtherCAT-xx thread and migrate it at this point.

Signed-off-by: Matthias Schoepfer <m.schoepfer@rethinkrobotics.com>
2021-09-27 14:56:01 +02:00
..
2013-02-12 15:46:43 +01:00
2013-02-12 15:46:43 +01:00
2017-10-12 13:09:52 +02:00
2013-02-12 17:15:09 +01:00
2021-07-23 15:53:11 +02:00
2013-02-12 17:15:09 +01:00
2013-02-12 15:46:43 +01:00
2021-07-23 16:16:18 +02:00
2013-02-12 15:46:43 +01:00
2021-07-23 15:53:11 +02:00
2021-07-23 15:53:11 +02:00
2021-07-23 15:53:11 +02:00
2012-12-07 19:51:55 +01:00
2021-06-22 14:43:07 +00:00
2013-02-12 17:15:09 +01:00
2013-02-12 17:15:09 +01:00
2013-02-12 15:46:43 +01:00
2013-02-12 15:46:43 +01:00
2013-02-12 15:46:43 +01:00
2013-02-12 15:46:43 +01:00
2013-02-12 15:46:43 +01:00
2013-02-12 15:46:43 +01:00