From fd35201b869c184eec7ff0a9dc9a99ddf5819753 Mon Sep 17 00:00:00 2001 From: Julian Seward Date: Thu, 1 Jun 2017 05:46:54 +0000 Subject: [PATCH] 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 --- coregrind/m_options.c | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) 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; -- 2.47.2