|
From: <sv...@va...> - 2006-03-16 11:31:37
|
Author: sewardj
Date: 2006-03-16 11:31:29 +0000 (Thu, 16 Mar 2006)
New Revision: 5774
Log:
upmerge r5768 (Allow a thread to spin longer when yielding before
switching to a different thread.)
Modified:
trunk/coregrind/m_scheduler/scheduler.c
Modified: trunk/coregrind/m_scheduler/scheduler.c
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/coregrind/m_scheduler/scheduler.c 2006-03-16 00:00:26 UTC (rev =
5773)
+++ trunk/coregrind/m_scheduler/scheduler.c 2006-03-16 11:31:29 UTC (rev =
5774)
@@ -883,8 +883,8 @@
before swapping to another. That means that short term
spins waiting for hardware to poke memory won't cause a
thread swap. */
- if (VG_(dispatch_ctr) > 100)=20
- VG_(dispatch_ctr) =3D 100;
+ if (VG_(dispatch_ctr) > 2000)=20
+ VG_(dispatch_ctr) =3D 2000;
break;
=20
case VG_TRC_INNER_COUNTERZERO:
|