[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4D0C08E0.4040908@am.sony.com>
Date: Fri, 17 Dec 2010 17:05:36 -0800
From: Frank Rowand <frank.rowand@...sony.com>
To: Peter Zijlstra <a.p.zijlstra@...llo.nl>
CC: Chris Mason <chris.mason@...cle.com>,
"Rowand, Frank" <Frank_Rowand@...yusa.com>,
Ingo Molnar <mingo@...e.hu>,
Thomas Gleixner <tglx@...utronix.de>,
Mike Galbraith <efault@....de>,
Oleg Nesterov <oleg@...hat.com>, Paul Turner <pjt@...gle.com>,
Jens Axboe <axboe@...nel.dk>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: [RFC][PATCH 3/5] sched: Change the ttwu success details
On 12/16/10 06:56, Peter Zijlstra wrote:
> try_to_wake_up() would only return a success when it would have to
> place a task on a rq, change that to every time we change p->state to
> TASK_RUNNING, because that's the real measure of wakeups.
>
> This results in that success is always true for the tracepoint, so
> remove its success argument.
>
> Signed-off-by: Peter Zijlstra <a.p.zijlstra@...llo.nl>
Looks good to me, so far. But I still I have a few more places that call
try_to_wake_up() to validate.
Acked-by: Frank Rowand <frank.rowand@...sony.com>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists