Development: Driver Performance Optimisations

From LinuxTVWiki
Revision as of 02:50, 19 September 2009 by CityK (talk | contribs) (moved Development: DVB Driver Performance Optimisations to Development: Driver Performance Optimisations: article name; make it V4L-DVB agnostic)
Jump to navigation Jump to search

In some cases it may be critical to do things really right, so here is a list of just 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.