diff options
Diffstat (limited to 'include/litmus/ikglp_lock.h')
-rw-r--r-- | include/litmus/ikglp_lock.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/litmus/ikglp_lock.h b/include/litmus/ikglp_lock.h index 0b89c8135360..9d0cd3d1904e 100644 --- a/include/litmus/ikglp_lock.h +++ b/include/litmus/ikglp_lock.h | |||
@@ -114,6 +114,7 @@ struct ikglp_queue_info | |||
114 | struct fifo_queue* q; | 114 | struct fifo_queue* q; |
115 | lt_t estimated_len; | 115 | lt_t estimated_len; |
116 | int *nr_cur_users; | 116 | int *nr_cur_users; |
117 | int *nr_aff_users; | ||
117 | }; | 118 | }; |
118 | 119 | ||
119 | struct ikglp_affinity_ops | 120 | struct ikglp_affinity_ops |
@@ -128,6 +129,8 @@ struct ikglp_affinity_ops | |||
128 | void (*notify_acquired)(struct ikglp_affinity* aff, struct fifo_queue* fq, struct task_struct* t); // replica acquired | 129 | void (*notify_acquired)(struct ikglp_affinity* aff, struct fifo_queue* fq, struct task_struct* t); // replica acquired |
129 | void (*notify_freed)(struct ikglp_affinity* aff, struct fifo_queue* fq, struct task_struct* t); // replica freed | 130 | void (*notify_freed)(struct ikglp_affinity* aff, struct fifo_queue* fq, struct task_struct* t); // replica freed |
130 | int (*replica_to_resource)(struct ikglp_affinity* aff, struct fifo_queue* fq); // convert a replica # to a GPU (includes offsets and simult user folding) | 131 | int (*replica_to_resource)(struct ikglp_affinity* aff, struct fifo_queue* fq); // convert a replica # to a GPU (includes offsets and simult user folding) |
132 | |||
133 | int (*notify_exit)(struct ikglp_affinity* aff, struct task_struct* t); | ||
131 | }; | 134 | }; |
132 | 135 | ||
133 | struct ikglp_affinity | 136 | struct ikglp_affinity |
@@ -136,6 +139,7 @@ struct ikglp_affinity | |||
136 | struct ikglp_affinity_ops *ops; | 139 | struct ikglp_affinity_ops *ops; |
137 | struct ikglp_queue_info *q_info; | 140 | struct ikglp_queue_info *q_info; |
138 | int *nr_cur_users_on_rsrc; | 141 | int *nr_cur_users_on_rsrc; |
142 | int *nr_aff_on_rsrc; | ||
139 | int offset; | 143 | int offset; |
140 | int nr_simult; | 144 | int nr_simult; |
141 | int nr_rsrc; | 145 | int nr_rsrc; |