From b7671fedd3c080b3de5371dfef91933eb7995211 Mon Sep 17 00:00:00 2001 From: Balazs Gerofi Date: Thu, 30 Mar 2017 14:51:17 +0900 Subject: [PATCH] mcctrl_per_proc_data: comments --- executer/kernel/mcctrl/mcctrl.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/executer/kernel/mcctrl/mcctrl.h b/executer/kernel/mcctrl/mcctrl.h index 542f1f95..c9b8804a 100644 --- a/executer/kernel/mcctrl/mcctrl.h +++ b/executer/kernel/mcctrl/mcctrl.h @@ -192,9 +192,10 @@ struct mcctrl_per_proc_data { int pid; unsigned long rpgtable; /* per process, not per OS */ - struct list_head wq_list; - struct list_head wq_req_list; - struct list_head wq_list_exact; + struct list_head wq_list; /* All these requests come from mcexec */ + struct list_head wq_req_list; /* These requests come from IKC IRQ handler (can be processed by any threads) */ + struct list_head wq_list_exact; /* These requests come from IKC IRQ handler targeting a particular thread */ + ihk_spinlock_t wq_list_lock; wait_queue_head_t wq_prepare; wait_queue_head_t wq_procfs;