[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20080222094038.GH327@elte.hu>
Date: Fri, 22 Feb 2008 10:40:38 +0100
From: Ingo Molnar <mingo@...e.hu>
To: Peter Zijlstra <peter@...gramming.kicks-ass.net>,
Srivatsa Vaddagiri <vatsa@...ux.vnet.ibm.com>,
Dhaval Giani <dhaval@...ux.vnet.ibm.com>,
linux-kernel@...r.kernel.org
Subject: Re: Remove duplicate code from sched_fair.c
* Balbir Singh <balbir@...ux.vnet.ibm.com> wrote:
> yield_task_fair has some duplicate code, that can be replaced with
> rb_last(). This code reuses rb_next and removes the duplicate code. As
> a side effect, we don't do an rb_entry for each node as we walk along
> the path.
thanks, applied.
Ingo
--
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