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)
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>

No differences found