]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
sdio: adaptive interrupt polling
authorPierre Ossman <drzeus@drzeus.cx>
Thu, 27 Sep 2007 08:48:29 +0000 (10:48 +0200)
committerPierre Ossman <drzeus@drzeus.cx>
Thu, 27 Sep 2007 08:48:29 +0000 (10:48 +0200)
commit6f4285d13300f1c8cd675a41ab390cea06173cd1
treed0611c5e278af5c85bb157cd1b5c0db233ecaf02
parent5d3ad4e8a12e538eead0a37d22b1ba6aec0f2127
sdio: adaptive interrupt polling

The interrupt polling frequency is a compromise between power usage and
interrupt latency. Unfortunately, it affects throughput rather severely
for devices which require an interrupt for every chunk of data.

By making the polling frequency adaptive, we get better throughput with
those devices without sacficing too much power. Polling will quickly
increase when there is an actual interrupt, and slowly fall back to the
idle frequency when the interrupts stop coming.

Signed-off-by: Pierre Ossman <drzeus@drzeus.cx>
drivers/mmc/core/sdio_irq.c