Development: Driver Performance Optimisations

From LinuxTVWiki
Revision as of 14:51, 27 September 2004 by Holger (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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.