Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 60637
b: refs/heads/master
c: 60e2423
h: refs/heads/master
i:
  60635: ad2e95f
v: v3
  • Loading branch information
Jeremy Kerr authored and Paul Mackerras committed Jul 3, 2007
1 parent c65df9d commit 731365b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: fe443ef2ac421c9c652e251e8733e2479d8e411a
refs/heads/master: 60e242393346c1a9a64e7b14dfb7f613a737324f
8 changes: 4 additions & 4 deletions trunk/arch/powerpc/platforms/cell/spufs/sched.c
Original file line number Diff line number Diff line change
Expand Up @@ -70,11 +70,11 @@ static struct timer_list spusched_timer;
/*
* These are the 'tuning knobs' of the scheduler:
*
* Minimum timeslice is 5 msecs (or 10 jiffies, whichever is larger),
* default timeslice is 100 msecs, maximum timeslice is 800 msecs.
* Minimum timeslice is 5 msecs (or 1 spu scheduler tick, whichever is
* larger), default timeslice is 100 msecs, maximum timeslice is 800 msecs.
*/
#define MIN_SPU_TIMESLICE max(5 * HZ / 100, 10)
#define DEF_SPU_TIMESLICE (100 * HZ / 100)
#define MIN_SPU_TIMESLICE max(5 * HZ / (1000 * SPUSCHED_TICK), 1)
#define DEF_SPU_TIMESLICE (100 * HZ / (1000 * SPUSCHED_TICK))

#define MAX_USER_PRIO (MAX_PRIO - MAX_RT_PRIO)
#define SCALE_PRIO(x, prio) \
Expand Down

0 comments on commit 731365b

Please sign in to comment.