]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Enable fair scheduling by default on Linux. n-i-bz.
authorJulian Seward <jseward@acm.org>
Wed, 24 May 2017 14:07:49 +0000 (14:07 +0000)
committerJulian Seward <jseward@acm.org>
Wed, 24 May 2017 14:07:49 +0000 (14:07 +0000)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@16414

coregrind/m_options.c

index 1bf2cc02e8311ab5a7eaa512501309d653f594df..5f33471e609d08fdddb701724187a66b45760f6c 100644 (file)
@@ -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;