Messages in this thread | | | Date | Tue, 13 Jul 2004 15:48:45 +1000 | From | Nick Piggin <> | Subject | Re: Preempt Threshold Measurements |
| |
Con Kolivas wrote:
> --- linux-2.6.8-rc1.orig/include/linux/sched.h 2004-07-12 16:11:50.000000000 +1000 > +++ linux-2.6.8-rc1/include/linux/sched.h 2004-07-13 15:31:00.547749905 +1000 > @@ -1021,6 +1021,7 @@ > extern void __cond_resched(void); > static inline void cond_resched(void) > { > + touch_preempt_timing(); > if (need_resched()) > __cond_resched(); > }
cond_resched_lock just below this needs something similar. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |