From: Ingo Molnar Date: Fri, 14 Mar 2008 21:17:08 +0000 (+0100) Subject: sched: simplify sched_slice() X-Git-Tag: v2.6.25-rc6~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6a6029b8cefe0ca7e82f27f3904dbedba3de4e06;p=pandora-kernel.git sched: simplify sched_slice() Use the existing calc_delta_mine() calculation for sched_slice(). This saves a divide and simplifies the code because we share it with the other /cfs_rq->load users. It also improves code size: text data bss dec hex filename 42659 2740 144 45543 b1e7 sched.o.before 42093 2740 144 44977 afb1 sched.o.after Signed-off-by: Ingo Molnar Signed-off-by: Peter Zijlstra --- Reading git-diff-tree failed