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...
Attachment:
pgpTzhabYCtka.pgp
Description: PGP signature