lkml.org 
[lkml]   [2008]   [Sep]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] sched: minor optimizations in wake_affine and select_task_rq_fair
Amit K. Arora wrote:
> Hello,
>
> Please consider this patch. It makes a few minor changes to
> sched_fair.c.
>
>
> sched: Minor optimizations in wake_affine and select_task_rq_fair
>
> This patch does following:
> o Reduces the number of arguments to wake_affine().

At what point is it cheaper to pass items as args rather than
recalculating them? If reducing the number of args is desirable, what
about removing the "this_cpu" and "prev_cpu" args and recalculating them
in wake_affine()?

Chris


\
 
 \ /
  Last update: 2008-09-29 18:13    [W:0.298 / U:0.148 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site