deschedule the thread much sooner (300 evchecks) than previously (1000
evchecks). Once the thread is spinning, there's absolutely no point in
continuing with it, since only a different thread can get it out of the loop,
so we need to drop the current thread ASAP.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@16412
before swapping to another. That means that short term
spins waiting for hardware to poke memory won't cause a
thread swap. */
- if (dispatch_ctr > 1000)
- dispatch_ctr = 1000;
+ if (dispatch_ctr > 300)
+ dispatch_ctr = 300;
break;
case VG_TRC_INNER_COUNTERZERO: