From: Ingo Molnar Date: Mon, 7 Jul 2008 06:07:35 +0000 (+0200) Subject: Merge branch 'linus' into tracing/mmiotrace X-Git-Tag: v2.6.27-rc1~1102^2^2~2^2~1 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d763d5edf945eec47bd443b699f174976f0afc13;p=linux-2.6 Merge branch 'linus' into tracing/mmiotrace --- d763d5edf945eec47bd443b699f174976f0afc13 diff --cc kernel/sched.c index e2e985eeee,94ead43eda..70cb127e34 --- a/kernel/sched.c +++ b/kernel/sched.c @@@ -2631,11 -2277,8 +2299,11 @@@ void wake_up_new_task(struct task_struc * management (if any): */ p->sched_class->task_new(rq, p); - inc_nr_running(rq); + inc_nr_running(p, rq); } + trace_mark(kernel_sched_wakeup_new, + "pid %d state %ld ## rq %p task %p rq->curr %p", + p->pid, p->state, rq, p, rq->curr); check_preempt_curr(rq, p); #ifdef CONFIG_SMP if (p->sched_class->task_wake_up)