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
..
Kbuild.in Added feature flags to API. 2021-07-23 15:53:11 +02:00
Makefile.am Revive 'make distcheck' 2021-06-22 14:43:07 +00:00
cdev.c New page fault return type vm_fault_t since 4.17. 2020-04-03 12:00:24 +02:00
cdev.h Improved and added license headers. 2009-02-24 12:51:39 +00:00
coe_emerg_ring.c Updated Doxygen documentation. 2013-02-12 15:46:43 +01:00
coe_emerg_ring.h Updated Doxygen documentation. 2013-02-12 15:46:43 +01:00
datagram.c Strictly using KERN_CONT for continued printk() calls to avoid newlines. 2021-09-01 11:00:49 +02:00
datagram.h Redundant outputs via datagram pairs. 2012-01-12 17:41:05 +01:00
datagram_pair.c Output datagram stats only if EC_RT_SYSLOG. 2013-12-04 19:53:59 +01:00
datagram_pair.h Updated Doxygen documentation. 2013-02-12 15:46:43 +01:00
debug.c Updated Doxygen documentation. 2013-02-12 15:46:43 +01:00
debug.h Improved syslog macros. 2010-05-03 18:07:57 +02:00
device.c Doc. 2017-10-12 13:09:52 +02:00
device.h Removed unused field. 2012-11-30 12:09:12 +01:00
domain.c Strictly using KERN_CONT for continued printk() calls to avoid newlines. 2021-09-01 11:00:49 +02:00
domain.h Added configure option for redundancy (--with-devices). 2012-11-30 20:15:31 +01:00
doxygen.c Some more doxygen documentation. 2013-02-12 17:15:09 +01:00
ethernet.c Strictly using KERN_CONT for continued printk() calls to avoid newlines. 2021-09-01 11:00:49 +02:00
ethernet.h Fixed semaphore header for kernels < 2.6.27. 2012-01-10 10:43:36 +01:00
flag.c Avoided warning about unreasonable use of strncpy(). 2021-08-25 12:00:01 +02:00
flag.h Added feature flags to API. 2021-07-23 15:53:11 +02:00
fmmu_config.c Improved syslog macros. 2010-05-03 18:07:57 +02:00
fmmu_config.h Improved and added license headers. 2009-02-24 12:51:39 +00:00
foe.h Some more doxygen documentation. 2013-02-12 17:15:09 +01:00
foe_request.c Using vmalloc() for FoE memory allocation. 2020-01-24 11:09:48 +01:00
foe_request.h Removed unnecessary ec_master_foe_request_t; fixed FoE access. 2012-12-04 14:26:30 +01:00
fsm_change.c Fixed AL status code lookup. 2012-08-06 14:18:05 +02:00
fsm_change.h Improved and added license headers. 2009-02-24 12:51:39 +00:00
fsm_coe.c Updated Doxygen documentation. 2013-02-12 15:46:43 +01:00
fsm_coe.h Avoided io_sem locking from userspace/rtdm library. 2013-01-10 17:36:41 +01:00
fsm_foe.c Strictly using KERN_CONT for continued printk() calls to avoid newlines. 2021-09-01 11:00:49 +02:00
fsm_foe.h Avoided io_sem locking from userspace/rtdm library. 2013-01-10 17:36:41 +01:00
fsm_master.c First feature flag: AssignToPdi. 2021-07-23 16:16:18 +02:00
fsm_master.h Do not use slaves's SoE state machine for configuration. 2012-12-06 14:06:10 +01:00
fsm_pdo.c Strictly using KERN_CONT for continued printk() calls to avoid newlines. 2021-09-01 11:00:49 +02:00
fsm_pdo.h Avoided io_sem locking from userspace/rtdm library. 2013-01-10 17:36:41 +01:00
fsm_pdo_entry.c Strictly using KERN_CONT for continued printk() calls to avoid newlines. 2021-09-01 11:00:49 +02:00
fsm_pdo_entry.h Avoided io_sem locking from userspace/rtdm library. 2013-01-10 17:36:41 +01:00
fsm_sii.c Minor: Improved SII debugging. 2010-09-22 12:26:32 +02:00
fsm_sii.h Improved and added license headers. 2009-02-24 12:51:39 +00:00
fsm_slave.c Updated Doxygen documentation. 2013-02-12 15:46:43 +01:00
fsm_slave.h Avoided io_sem locking from userspace/rtdm library. 2013-01-10 17:36:41 +01:00
fsm_slave_config.c First feature flag: AssignToPdi. 2021-07-23 16:16:18 +02:00
fsm_slave_config.h Do not use slaves's SoE state machine for configuration. 2012-12-06 14:06:10 +01:00
fsm_slave_scan.c Improved debugging and behavior on sick SII contents. 2020-09-03 12:53:53 +02:00
fsm_slave_scan.h Improved and added license headers. 2009-02-24 12:51:39 +00:00
fsm_soe.c Strictly using KERN_CONT for continued printk() calls to avoid newlines. 2021-09-01 11:00:49 +02:00
fsm_soe.h Avoided io_sem locking from userspace/rtdm library. 2013-01-10 17:36:41 +01:00
globals.h Also changed license of gloabl headers to LGPL. 2021-07-23 13:33:54 +02:00
ioctl.c Added feature flags to API. 2021-07-23 15:53:11 +02:00
ioctl.h Added feature flags to API. 2021-07-23 15:53:11 +02:00
mailbox.c Strictly using KERN_CONT for continued printk() calls to avoid newlines. 2021-09-01 11:00:49 +02:00
mailbox.h Made datagram const. 2012-12-07 19:51:55 +01:00
master.c master: added 'run_on_cpu' module parameter to bind kthreads to a cpu 2021-09-27 14:56:01 +02:00
master.h master: added 'run_on_cpu' module parameter to bind kthreads to a cpu 2021-09-27 14:56:01 +02:00
module.c master: added 'run_on_cpu' module parameter to bind kthreads to a cpu 2021-09-27 14:56:01 +02:00
pdo.c Strictly using KERN_CONT for continued printk() calls to avoid newlines. 2021-09-01 11:00:49 +02:00
pdo.h Improved output when PDO assignment/mapping fails. 2010-02-23 15:49:12 +01:00
pdo_entry.c Removed trailing spaces. 2012-09-06 20:22:24 +02:00
pdo_entry.h Improved and added license headers. 2009-02-24 12:51:39 +00:00
pdo_list.c Strictly using KERN_CONT for continued printk() calls to avoid newlines. 2021-09-01 11:00:49 +02:00
pdo_list.h Improved and added license headers. 2009-02-24 12:51:39 +00:00
reg_request.c Implemented emergency register requests to analyze a broken bus. 2013-05-13 20:21:19 +02:00
reg_request.h Implemented emergency register requests to analyze a broken bus. 2013-05-13 20:21:19 +02:00
rtdm-ioctl.c Re-worked and seamlessly integrated RTDM interface. 2012-09-20 15:28:25 +02:00
rtdm.c Some more doxygen documentation. 2013-02-12 17:15:09 +01:00
rtdm.h Some more doxygen documentation. 2013-02-12 17:15:09 +01:00
sdo.c Removed trailing spaces. 2012-09-06 20:22:24 +02:00
sdo.h Improved and added license headers. 2009-02-24 12:51:39 +00:00
sdo_entry.c Read SDO entry access rights. 2009-04-08 08:13:33 +00:00
sdo_entry.h Read SDO entry access rights. 2009-04-08 08:13:33 +00:00
sdo_request.c Updated Doxygen documentation. 2013-02-12 15:46:43 +01:00
sdo_request.h Added ecrt_sdo_request_index() method to change index and subindex. 2012-10-04 10:07:52 +02:00
slave.c Updated Doxygen documentation. 2013-02-12 15:46:43 +01:00
slave.h Updated Doxygen documentation. 2013-02-12 15:46:43 +01:00
slave_config.c Merge branch 'feature-flags' into 'stable-1.5' 2021-08-24 10:15:10 +00:00
slave_config.h Find flag method with const char * parameter; added method to header. 2021-07-23 16:15:05 +02:00
soe_errors.c Included list of common SoE error messages. 2010-03-19 12:01:32 +01:00
soe_request.c Updated Doxygen documentation. 2013-02-12 15:46:43 +01:00
soe_request.h Added drive_no parameter to SoE layer. 2010-07-20 10:52:31 +02:00
sync.c Updated Doxygen documentation. 2013-02-12 15:46:43 +01:00
sync.h Always enable a sync manager, if there are registered PDOs conatined (and it 2011-10-24 10:47:36 +02:00
sync_config.c Added watchdog configuration via application interface (thanks to J. Mohre). 2009-07-27 10:48:52 +00:00
sync_config.h Added watchdog configuration via application interface (thanks to J. Mohre). 2009-07-27 10:48:52 +00:00
voe_handler.c Updated Doxygen documentation. 2013-02-12 15:46:43 +01:00
voe_handler.h Improved and added license headers. 2009-02-24 12:51:39 +00:00