[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4B163DEA.2050303@kernel.org>
Date: Wed, 02 Dec 2009 19:14:02 +0900
From: Tejun Heo <tj@...nel.org>
To: Mike Galbraith <efault@....de>
CC: tglx@...utronix.de, mingo@...e.hu, avi@...hat.com,
peterz@...radead.org, rusty@...tcorp.com.au,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH 3/7] sched: refactor try_to_wake_up()
On 12/02/2009 07:10 PM, Mike Galbraith wrote:
>>> I think it would _look_ better with the thing just
>>> duplicated/stripped down and called what it is,
>>> sched_notifier_wakeup() or such.
>>
>> Sorry, I'm not following. Can you elaborate a bit?
>
> I mean copying ttwu, stripping out locking etc, and renaming the result
> would look better. No functional difference though, and binary growth
> would be left in the wake of such a duplication.
Ah... okay. Well, that was the first approach (with some missing
parts). Peter wasn't particularly happy with code duplication and
suggested refactoring ttwu and reuse common parts.
Thanks.
--
tejun
--
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