Messages in this thread |  | | Date | Thu, 28 Nov 2013 18:49:00 +0200 | From | Eliezer Tamir <> | Subject | Re: [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
|  |