diff options
author | Glenn Elliott <gelliott@cs.unc.edu> | 2012-08-31 11:10:33 -0400 |
---|---|---|
committer | Glenn Elliott <gelliott@cs.unc.edu> | 2012-08-31 11:10:33 -0400 |
commit | 00c173dc87b14b8422cea2aa129a2fc99689a05d (patch) | |
tree | b23cbc6bffe602d29c0565d8e83741f0546b3111 | |
parent | a463f9a9e04385f0729f7435a0a6dff7d89b25de (diff) |
enable migration tracing and short-cut interrupts
-rw-r--r-- | kernel/softirq.c | 2 | ||||
-rw-r--r-- | litmus/gpu_affinity.c | 12 |
2 files changed, 7 insertions, 7 deletions
diff --git a/kernel/softirq.c b/kernel/softirq.c index 5ce271675662..b013046e8c36 100644 --- a/kernel/softirq.c +++ b/kernel/softirq.c | |||
@@ -445,7 +445,7 @@ void __tasklet_schedule(struct tasklet_struct *t) | |||
445 | #ifdef CONFIG_LITMUS_NVIDIA | 445 | #ifdef CONFIG_LITMUS_NVIDIA |
446 | if(is_nvidia_func(t->func)) | 446 | if(is_nvidia_func(t->func)) |
447 | { | 447 | { |
448 | #if 0 | 448 | #if 1 |
449 | // do nvidia tasklets right away and return | 449 | // do nvidia tasklets right away and return |
450 | if(__do_nv_now(t)) | 450 | if(__do_nv_now(t)) |
451 | return; | 451 | return; |
diff --git a/litmus/gpu_affinity.c b/litmus/gpu_affinity.c index 9762be1a085e..55bb5e1128ec 100644 --- a/litmus/gpu_affinity.c +++ b/litmus/gpu_affinity.c | |||
@@ -58,17 +58,17 @@ void update_gpu_estimate(struct task_struct *t, lt_t observed) | |||
58 | fb->accum_err = _div(fb->est, _integer_to_fp(2)); // ...seems to work. | 58 | fb->accum_err = _div(fb->est, _integer_to_fp(2)); // ...seems to work. |
59 | } | 59 | } |
60 | else { | 60 | else { |
61 | // struct migration_info mig_info; | 61 | struct migration_info mig_info; |
62 | 62 | ||
63 | sched_trace_prediction_err(t, | 63 | sched_trace_prediction_err(t, |
64 | &(tsk_rt(t)->gpu_migration), | 64 | &(tsk_rt(t)->gpu_migration), |
65 | &rel_err); | 65 | &rel_err); |
66 | 66 | ||
67 | // mig_info.observed = observed; | 67 | mig_info.observed = observed; |
68 | // mig_info.estimated = get_gpu_estimate(t, tsk_rt(t)->gpu_migration); | 68 | mig_info.estimated = get_gpu_estimate(t, tsk_rt(t)->gpu_migration); |
69 | // mig_info.distance = tsk_rt(t)->gpu_migration; | 69 | mig_info.distance = tsk_rt(t)->gpu_migration; |
70 | // | 70 | |
71 | // sched_trace_migration(t, &mig_info); | 71 | sched_trace_migration(t, &mig_info); |
72 | } | 72 | } |
73 | } | 73 | } |
74 | 74 | ||