From: Julian Seward Date: Wed, 24 May 2017 14:07:49 +0000 (+0000) Subject: Enable fair scheduling by default on Linux. n-i-bz. X-Git-Tag: svn/VALGRIND_3_13_0~20 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d8837cc0fa244f1379584310108f7f48abd42f31;p=thirdparty%2Fvalgrind.git Enable fair scheduling by default on Linux. n-i-bz. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@16414 --- diff --git a/coregrind/m_options.c b/coregrind/m_options.c index 1bf2cc02e8..5f33471e60 100644 --- a/coregrind/m_options.c +++ b/coregrind/m_options.c @@ -105,8 +105,13 @@ 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; -enum FairSchedType - VG_(clo_fair_sched) = disable_fair_sched; + +#if defined(VGO_linux) +enum FairSchedType VG_(clo_fair_sched) = enable_fair_sched; +#else +enum FairSchedType VG_(clo_fair_sched) = disable_fair_sched; +#endif + Bool VG_(clo_trace_sched) = False; Bool VG_(clo_profile_heap) = False; Int VG_(clo_core_redzone_size) = CORE_REDZONE_DEFAULT_SZB;