libertas: increase spi driver thread priority
authorAnna Neal <anna@cozybit.com>
Thu, 2 Apr 2009 21:44:09 +0000 (14:44 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 22 Apr 2009 20:54:41 +0000 (16:54 -0400)
commitb26ed97c75e1538176c09f29c423a3f8a75868a7
tree2a367af946b3cb45ea21d7eb7e5fbf013b137ac7
parent25e47c18ac4d8ad09c2ed4b99c1dbbcb7e3d2c51
libertas: increase spi driver thread priority

Currently, the libertas main thread contends with the spi driver thread
in the TX path.  To improve throughput, ensure that the driver thread
has higher scheduling priority than the libertas main thread.  Do this
by making the libertas spi driver thread a low priority real time
thread.

We measured an average throughput improvement of 13%.

Signed-off-by: Anna Neal <anna@cozybit.com>
Signed-off-by: Andrey Yurovsky <andrey@cozybit.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/libertas/if_spi.c