Skip to content
Commit 3046e2f5 authored by Eliezer Tamir's avatar Eliezer Tamir Committed by David S. Miller
Browse files

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: default avatarJulie Cummings <julie.a.cummings@intel.com>
Signed-off-by: default avatarEliezer Tamir <eliezer.tamir@linux.intel.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 64c3b252
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment