]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb6527d1ce9c6d740161eae56786724a32c83a953
tree2a367af946b3cb45ea21d7eb7e5fbf013b137ac7
parent5ec187a8521afb98655ad94b2d98a7f3f718e54e
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