Messages in this thread | | | Date | Fri, 22 Feb 2008 10:40:38 +0100 | From | Ingo Molnar <> | Subject | Re: Remove duplicate code from sched_fair.c |
| |
* Balbir Singh <balbir@linux.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
| |