]> git.baikalelectronics.ru Git - kernel.git/commit
net: add cpu_relax to busy poll loop
authorEliezer Tamir <eliezer.tamir@linux.intel.com>
Sun, 25 Aug 2013 07:23:46 +0000 (10:23 +0300)
committerDavid S. Miller <davem@davemloft.net>
Wed, 28 Aug 2013 21:45:48 +0000 (17:45 -0400)
commit1f146b944b931e7b3601e0ba5d591f42b8273477
tree92148960b1400fb5e5c30192530103f5cddd82d0
parentb59a32b5bf46e274417b9f655bc0ca6030028feb
net: add cpu_relax to busy poll loop

Add a cpu_relaxt to sk_busy_loop.

Julie Cummings reported performance issues when hyperthreading is on.
Arjan van de Ven observed that we should have a cpu_relax() in the
busy poll loop.

Reported-by: Julie Cummings <julie.a.cummings@intel.com>
Signed-off-by: Eliezer Tamir <eliezer.tamir@linux.intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/busy_poll.h