lkml.org 
[lkml]   [2007]   [Aug]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] Tidy up left over smpnice code after changes introduced with CFS

* Peter Williams <pwil3058@bigpond.net.au> wrote:

> 1. The only place that RTPRIO_TO_LOAD_WEIGHT() is used is in the call
> to move_tasks() in the function active_load_balance() and its purpose
> here is just to make sure that the load to be moved is big enough to
> ensure that exactly one task is moved (if there's one available).
> This can be accomplished by using ULONG_MAX instead and this allows
> RTPRIO_TO_LOAD_WEIGHT() to be deleted.
>
> 2. This, in turn, allows PRIO_TO_LOAD_WEIGHT() to be deleted.
>
> 3. This allows load_weight() to be deleted which allows
> TIME_SLICE_NICE_ZERO to be deleted along with the comment above it.

thanks, i've added this to my tree.

Ingo
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2007-08-02 12:31    [W:0.187 / U:0.048 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site