Development: Driver Performance Optimisations: Difference between revisions

From LinuxTVWiki
Jump to navigation Jump to search
No edit summary
 
m (+cat)
Line 2: Line 2:


* Don't do heavy work in interrupt context. Use work queues.
* Don't do heavy work in interrupt context. Use work queues.

* Avoid busy-polling.
* Avoid busy-polling.

* Don't use extra-threads unless really necessairy. They are usually avoidable.
* Don't use extra-threads unless really necessairy. They are usually avoidable.
* Don't call the Software Demultiplexer from interrupt context if avoidable.


[[Category:Development]]
* Don't call the Software Demultiplexer from interrupt context if avoidable.

Revision as of 23:04, 2 April 2005

In some cases it may be critical to do things really right, so here are just a list of the most important points when working on a DVB driver:

  • Don't do heavy work in interrupt context. Use work queues.
  • Avoid busy-polling.
  • Don't use extra-threads unless really necessairy. They are usually avoidable.
  • Don't call the Software Demultiplexer from interrupt context if avoidable.