Valgrind: r16414 - /trunk/coregrind/m_options.c

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Valgrind: r16414 - /trunk/coregrind/m_options.c

svn-2
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;


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Valgrind-developers mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/valgrind-developers