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

net: avoid calling sched_clock when LLS is off



Change Low Latency Sockets code for select and poll so that
when LLS is disabled sched_clock() is never called.

Also, avoid sending POLL_LL to sockets if disabled.

Reported-by: default avatarAndi Kleen <andi@firstfloor.org>
Signed-off-by: default avatarEliezer Tamir <eliezer.tamir@linux.intel.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent ad6276e0
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