lkml.org 
[lkml]   [2008]   [Feb]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 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


\
 
 \ /
  Last update: 2008-02-22 10:43    [W:0.513 / U:0.008 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site