Deniz-Eren / dev-can-linux

Porting of Linux CAN-bus drivers to QNX
GNU General Public License v2.0
4 stars 1 forks source link

Multithreaded IRQ handler processing #53

Open Deniz-Eren opened 8 months ago

Deniz-Eren commented 8 months ago

During the process of harmonizing with Linux Kernel version 6.6 (https://github.com/Deniz-Eren/dev-can-linux/issues/52), it was discovered Linux has gone down the direction of supporting multiple threads to process IRQ handlers.

Currently this capability isn't seen as necessary, however would be a good enhancement.

When implementing this feature functions netif_tx_lock and netif_tx_unlock need to be implemented, together with refactoring of the current IRQ processing algorithms.

We may need to review our handling of spin_lock_irqsave and spin_unlock_irqrestore when implementing multithread IRQ support.