Messages in this thread | | | Subject | Re: [PATCH 1/2] sched: INIT_PREEMPT_COUNT | From | Valdis.Kletnieks@vt ... | Date | Fri, 10 Jul 2009 16:24:13 -0400 |
| |
On Fri, 10 Jul 2009 17:51:06 +0200, Peter Zijlstra said:
> Something along the lines of the below? > > --- > Index: linux-2.6/include/linux/sched.h > =================================================================== > --- linux-2.6.orig/include/linux/sched.h > +++ linux-2.6/include/linux/sched.h > @@ -502,7 +502,9 @@ struct task_cputime { > > /* > * Disable preemption until the scheduler is running. > - * Reset by start_kernel()->sched_init()->init_idle(). > + * > + * We reset this initial offset of init_thread_info.preempt_count in: > + * start_kernel()->sched_init()->init_idle(). > */ > #define INIT_PREEMPT_COUNT (1)
Works for me, thanks... [unhandled content-type:application/pgp-signature] | |