Discussion:
[Valgrind-developers] Valgrind: r16414 - /trunk/coregrind/m_options.c
s***@valgrind.org
2017-05-24 14:07:49 UTC
Permalink
Author: sewardj
Date: Wed May 24 15:07:49 2017
New Revision: 16414

Log:
Enable fair scheduling by default on Linux. n-i-bz.

Modified:
trunk/coregrind/m_options.c

Modified: trunk/coregrind/m_options.c
==============================================================================
--- trunk/coregrind/m_options.c (original)
+++ trunk/coregrind/m_options.c Wed May 24 15:07:49 2017
@@ -105,8 +105,13 @@
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;

Loading...