From: Ingo Molnar Date: Mon, 16 Jun 2008 09:16:46 +0000 (+0200) Subject: Merge branch 'linus' into tracing/mmiotrace-mergefixups X-Git-Tag: v2.6.27-rc1~1102^2^2~2^2^2~1 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cb9aa97c21c59ad01c9514d7faf45dc166fba226;p=linux-2.6 Merge branch 'linus' into tracing/mmiotrace-mergefixups --- cb9aa97c21c59ad01c9514d7faf45dc166fba226 diff --cc kernel/sched.c index e2e985eeee,eaf6751e76..c994d12abb --- a/kernel/sched.c +++ b/kernel/sched.c @@@ -2631,11 -2275,8 +2297,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)