Files
ethercat/master
Esben Haabendal 81758004fd Improve synchronization of master->domains list
Introduce a new lock for synchronization of the master->domains list, and use
that instead of the big master_sem lock, improving real-time performance of
fx. ecrt_domain_process() when EoE thread is being shut down (or other
use-cases where master_sem is held for extended periods).

The following locking order is used:

* master->master_sem
* master->domains_lock
* master->io_sem
* domain->datagram_pairs_lock

Meaning that it is allowed to take domains_lock while holding master_sem, and
it is allowed to hold domains_lock while locking io_sem and
datagram_pairs_lock.

[RV: For now, the lockdep_assert_held() annotations are commented out,
since they don't compile with CONFIG_PROVE_LOCKING and (the default)
--disable-rtmutex.]
2022-09-01 15:38:01 +02:00
..
2022-06-23 12:39:52 +02:00
2022-06-23 11:55:13 +02:00
2022-06-23 12:39:52 +02:00
2022-06-23 12:39:52 +02:00
2021-08-24 17:47:15 +02:00
2014-11-03 15:20:05 +01:00
2012-09-06 14:07:13 +02:00
2022-06-23 12:39:52 +02:00
2022-06-23 11:55:13 +02:00
2022-06-23 12:39:52 +02:00
2022-06-23 10:25:36 +02:00
2022-06-23 11:55:13 +02:00
2022-06-23 10:26:43 +02:00
2022-06-23 10:25:36 +02:00
2022-06-23 11:55:13 +02:00
2022-06-23 11:55:13 +02:00
2014-11-03 15:20:05 +01:00
2014-11-03 15:20:05 +01:00
2014-11-03 15:20:05 +01:00
2022-06-23 12:39:52 +02:00
2022-06-23 12:39:52 +02:00
2014-11-03 15:20:05 +01:00
2012-09-06 14:17:21 +02:00