[POWERPC] spusched: Fix timeslice calculations
authorJeremy Kerr <jk@ozlabs.org>
Fri, 29 Jun 2007 00:57:53 +0000 (10:57 +1000)
committerPaul Mackerras <paulus@samba.org>
Tue, 3 Jul 2007 05:24:44 +0000 (15:24 +1000)
commit60e242393346c1a9a64e7b14dfb7f613a737324f
tree79987a1ff1f9406251a5967c0aa6820b73637281
parentfe443ef2ac421c9c652e251e8733e2479d8e411a
[POWERPC] spusched: Fix timeslice calculations

The current timeslice code mixes 'jiffies' up with 'spesched ticks'. This
change correctly defines the number of time slices each SPE contexts is
given, and clarifies the comment.

This brings the default timeslice for SPE contexts into a reasonable
range.

Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/platforms/cell/spufs/sched.c