diff options
author | Bjoern B. Brandenburg <bbb@jupiter-cs.cs.unc.edu> | 2007-02-05 15:46:46 -0500 |
---|---|---|
committer | Bjoern B. Brandenburg <bbb@jupiter-cs.cs.unc.edu> | 2007-02-05 15:46:46 -0500 |
commit | ee5b27bdf3566e59b3de6cc377e318abccbe859e (patch) | |
tree | f82c17ad80ce022923bbd8803f68d1f62be9bae0 /kernel | |
parent | 8370c02df9081469ce07a1689a9fb1c970d166a3 (diff) |
Comment printk's in the scheduling code.
Printk's in the scheduling code still seem to cause deadlocks.
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/sched_global_edf.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/kernel/sched_global_edf.c b/kernel/sched_global_edf.c index a37709a561..a15876fba2 100644 --- a/kernel/sched_global_edf.c +++ b/kernel/sched_global_edf.c | |||
@@ -256,7 +256,7 @@ static int gedf_schedule(struct task_struct * prev, | |||
256 | */ | 256 | */ |
257 | static void gedf_finish_switch(struct task_struct *prev) | 257 | static void gedf_finish_switch(struct task_struct *prev) |
258 | { | 258 | { |
259 | printk(KERN_INFO "gedf finish switch for %d\n", prev->pid); | 259 | /*printk(KERN_INFO "gedf finish switch for %d\n", prev->pid);*/ |
260 | if (get_rt_flags(prev) == RT_F_SLEEP || | 260 | if (get_rt_flags(prev) == RT_F_SLEEP || |
261 | get_rt_mode() != MODE_RT_RUN) { | 261 | get_rt_mode() != MODE_RT_RUN) { |
262 | /* this task has expired | 262 | /* this task has expired |
@@ -382,8 +382,8 @@ static int gedf_mode_change(int new_mode) | |||
382 | int cpu; | 382 | int cpu; |
383 | cpu_entry_t *entry; | 383 | cpu_entry_t *entry; |
384 | 384 | ||
385 | printk(KERN_INFO "[%d] global edf: mode changed to %d\n", smp_processor_id(), | 385 | /* printk(KERN_INFO "[%d] global edf: mode changed to %d\n", smp_processor_id(), |
386 | new_mode); | 386 | new_mode);*/ |
387 | if (new_mode == MODE_RT_RUN) { | 387 | if (new_mode == MODE_RT_RUN) { |
388 | prepare_new_releases(&gedf, jiffies + 10); | 388 | prepare_new_releases(&gedf, jiffies + 10); |
389 | 389 | ||
@@ -409,7 +409,7 @@ static int gedf_mode_change(int new_mode) | |||
409 | } | 409 | } |
410 | spin_unlock(&gedf_cpu_lock); | 410 | spin_unlock(&gedf_cpu_lock); |
411 | } | 411 | } |
412 | printk(KERN_INFO "[%d] global edf: mode change done\n", smp_processor_id()); | 412 | /*printk(KERN_INFO "[%d] global edf: mode change done\n", smp_processor_id()); */ |
413 | return 0; | 413 | return 0; |
414 | } | 414 | } |
415 | 415 | ||