net: avoid calling sched_clock when LLS is off
authorEliezer Tamir <eliezer.tamir@linux.intel.com>
Fri, 28 Jun 2013 12:59:35 +0000 (15:59 +0300)
committerDavid S. Miller <davem@davemloft.net>
Mon, 1 Jul 2013 21:06:47 +0000 (14:06 -0700)
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: Andi Kleen <andi@firstfloor.org>
Signed-off-by: Eliezer Tamir <eliezer.tamir@linux.intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found