lkml.org 
[lkml]   [2013]   [Nov]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 7/8] sched, net: Fixup busy_loop_us_clock()
On 26/11/2013 17:57, Peter Zijlstra wrote:
>
> Replace sched_clock() usage with local_clock() which has a bounded
> drift between CPUs (<2 jiffies).
>

Peter,

I have tested this patch and I see a performance regression of about
1.5%.

Maybe it would be better, rather then testing in the fast path, to
simply disallow busy polling altogether when sched_clock_stable is
not true?

Thanks,
Eliezer


\
 
 \ /
  Last update: 2013-11-28 18:01    [W:0.123 / U:0.508 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site