diff options
author | Glenn Elliott <gelliott@cs.unc.edu> | 2012-05-14 16:51:05 -0400 |
---|---|---|
committer | Glenn Elliott <gelliott@cs.unc.edu> | 2013-05-19 22:46:49 -0400 |
commit | 44326648c2ea81b9a32619644fe9c665ed0d9e0b (patch) | |
tree | ff1e00cf3cbc0e06f511a90c4f28aa8f7b40b12e /litmus/rsm_lock.c | |
parent | af6eeb156c7da47ff5df03a3da04432c8ac4460c (diff) |
Final GPUSync implementation.gpusync-rtss12
Diffstat (limited to 'litmus/rsm_lock.c')
-rw-r--r-- | litmus/rsm_lock.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/litmus/rsm_lock.c b/litmus/rsm_lock.c index 965164c43537..75ed87c5ed48 100644 --- a/litmus/rsm_lock.c +++ b/litmus/rsm_lock.c | |||
@@ -502,6 +502,13 @@ int rsm_mutex_unlock(struct litmus_lock* l) | |||
502 | tsk_rt(next)->blocked_lock = NULL; | 502 | tsk_rt(next)->blocked_lock = NULL; |
503 | mb(); | 503 | mb(); |
504 | 504 | ||
505 | #if defined(CONFIG_LITMUS_AFFINITY_LOCKING) && defined(CONFIG_LITMUS_NVIDIA) | ||
506 | // re-enable tracking | ||
507 | if(tsk_rt(next)->held_gpus) { | ||
508 | tsk_rt(next)->suspend_gpu_tracker_on_block = 0; | ||
509 | } | ||
510 | #endif | ||
511 | |||
505 | wake_up_process(next); | 512 | wake_up_process(next); |
506 | } | 513 | } |
507 | else { | 514 | else { |