]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commitf7d2e5b1dd21731db7830c377c9a3bf540da61ee
tree79987a1ff1f9406251a5967c0aa6820b73637281
parenteab2b70de4a1ff1d6096ae13f884269fd660e735
[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