From: Julian Seward Date: Thu, 1 Jun 2017 05:46:54 +0000 (+0000) Subject: Back out r16414 (Enable fair scheduling by default on Linux.) following X-Git-Tag: VALGRIND_3_14_0~331 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fd35201b869c184eec7ff0a9dc9a99ddf5819753;p=thirdparty%2Fvalgrind.git Back out r16414 (Enable fair scheduling by default on Linux.) following further investigations showing large performance losses in some case, and no obvious way to fix the problem. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@16428 --- diff --git a/coregrind/m_options.c b/coregrind/m_options.c index 5f33471e60..1bf2cc02e8 100644 --- a/coregrind/m_options.c +++ b/coregrind/m_options.c @@ -105,13 +105,8 @@ Bool VG_(clo_debug_dump_syms) = False; Bool VG_(clo_debug_dump_line) = False; Bool VG_(clo_debug_dump_frames) = False; Bool VG_(clo_trace_redir) = False; - -#if defined(VGO_linux) -enum FairSchedType VG_(clo_fair_sched) = enable_fair_sched; -#else -enum FairSchedType VG_(clo_fair_sched) = disable_fair_sched; -#endif - +enum FairSchedType + VG_(clo_fair_sched) = disable_fair_sched; Bool VG_(clo_trace_sched) = False; Bool VG_(clo_profile_heap) = False; Int VG_(clo_core_redzone_size) = CORE_REDZONE_DEFAULT_SZB;