[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <48E0FDC5.1080500@nortel.com>
Date: Mon, 29 Sep 2008 10:09:41 -0600
From: "Chris Friesen" <cfriesen@...tel.com>
To: "Amit K. Arora" <aarora@...ux.vnet.ibm.com>
CC: linux-kernel@...r.kernel.org, vatsa@...ux.vnet.ibm.com,
a.p.zijlstra@...llo.nl, mingo@...e.hu
Subject: Re: [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
--
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