From: Luis Henriques Date: Mon, 16 Mar 2009 19:59:02 +0000 (+0000) Subject: sched: small optimisation of can_migrate_task() X-Git-Tag: v2.6.30-rc1~658^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=708dc5125309cd33c5daaad3026cc4ae6ef39c8b;p=pandora-kernel.git sched: small optimisation of can_migrate_task() There were 3 invocations of task_hot() in can_migrate_task(). Replace these 3 invocations by only one invocation, cached in a local variable. Signed-off-by: Luis Henriques LKML-Reference: <20090316195902.GA6197@hades.domain.com> Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed