aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeremy Kerr <jk@ozlabs.org>2007-06-28 20:57:54 -0400
committerPaul Mackerras <paulus@samba.org>2007-07-03 01:24:45 -0400
commitf3f59bec0c7ad083e9c95a550bcb1e9ca27e25f4 (patch)
treebe9284b1ac952ca5335f0ebb51704511309727b6
parent60e242393346c1a9a64e7b14dfb7f613a737324f (diff)
[POWERPC] spusched: Print out scheduling tunables with DEBUG
Print out a few scheduler tuning parameters when we've compiled with DEBUG defined. Signed-off-by: Jeremy Kerr <jk@ozlabs.org> Signed-off-by: Paul Mackerras <paulus@samba.org>
-rw-r--r--arch/powerpc/platforms/cell/spufs/sched.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/powerpc/platforms/cell/spufs/sched.c b/arch/powerpc/platforms/cell/spufs/sched.c
index 6843a01b1a25..002b40af4a77 100644
--- a/arch/powerpc/platforms/cell/spufs/sched.c
+++ b/arch/powerpc/platforms/cell/spufs/sched.c
@@ -546,6 +546,9 @@ int __init spu_sched_init(void)
546 kfree(spu_prio); 546 kfree(spu_prio);
547 return PTR_ERR(spusched_task); 547 return PTR_ERR(spusched_task);
548 } 548 }
549
550 pr_debug("spusched: tick: %d, min ticks: %d, default ticks: %d\n",
551 SPUSCHED_TICK, MIN_SPU_TIMESLICE, DEF_SPU_TIMESLICE);
549 return 0; 552 return 0;
550 553
551} 554}