aboutsummaryrefslogtreecommitdiffstats
path: root/litmus/ikglp_lock.c
diff options
context:
space:
mode:
authorGlenn Elliott <gelliott@cs.unc.edu>2012-12-11 22:01:01 -0500
committerGlenn Elliott <gelliott@cs.unc.edu>2012-12-12 14:14:41 -0500
commitc8483ef0959672310bf4ebb72e1a308b00543f74 (patch)
tree9cb306009b01c5226178f69172738026431d37f2 /litmus/ikglp_lock.c
parentfbd9574e298157b54c38f82f536e5cea8f766dff (diff)
make klmirqd work like aux tasks. checkpoint.
this code is untested!
Diffstat (limited to 'litmus/ikglp_lock.c')
-rw-r--r--litmus/ikglp_lock.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/litmus/ikglp_lock.c b/litmus/ikglp_lock.c
index b29828344dd1..a4ae74331782 100644
--- a/litmus/ikglp_lock.c
+++ b/litmus/ikglp_lock.c
@@ -1960,11 +1960,11 @@ static struct affinity_observer* ikglp_aff_obs_new(struct affinity_observer_ops*
1960 return(NULL); 1960 return(NULL);
1961 } 1961 }
1962 1962
1963 if(aff_args.nr_simult_users > NV_MAX_SIMULT_USERS) { 1963// if(aff_args.nr_simult_users > NV_MAX_SIMULT_USERS) {
1964 TRACE_CUR("System does not support #simult_users > %d. %d requested.\n", 1964// TRACE_CUR("System does not support #simult_users > %d. %d requested.\n",
1965 NV_MAX_SIMULT_USERS, aff_args.nr_simult_users); 1965// NV_MAX_SIMULT_USERS, aff_args.nr_simult_users);
1966// return(NULL); 1966//// return(NULL);
1967 } 1967// }
1968 1968
1969 ikglp_aff = kmalloc(sizeof(*ikglp_aff), GFP_KERNEL); 1969 ikglp_aff = kmalloc(sizeof(*ikglp_aff), GFP_KERNEL);
1970 if(!ikglp_aff) { 1970 if(!ikglp_aff) {
@@ -2124,7 +2124,7 @@ struct fifo_queue* gpu_ikglp_advise_enqueue(struct ikglp_affinity* aff, struct t
2124 if(aff->q_info[i].q->count < max_fifo_len) { 2124 if(aff->q_info[i].q->count < max_fifo_len) {
2125 int want = 0; 2125 int want = 0;
2126 2126
2127 lt_t migration = 2127 lt_t migration =
2128 get_gpu_estimate(t, 2128 get_gpu_estimate(t,
2129 gpu_migration_distance(tsk_rt(t)->last_gpu, 2129 gpu_migration_distance(tsk_rt(t)->last_gpu,
2130 replica_to_gpu(aff, i))); 2130 replica_to_gpu(aff, i)));