reserve_user_space(): mutual exclusion on mmap

This commit is contained in:
Balazs Gerofi
2017-01-24 12:38:59 +09:00
parent 1bc3218fc1
commit ad214c8206
3 changed files with 6 additions and 0 deletions

View File

@@ -283,6 +283,7 @@ struct mcctrl_usrdata {
int base_cpu;
int job_pos;
int mcctrl_dma_abort;
struct mutex reserve_lock;
unsigned long last_thread_exec;
wait_queue_head_t wq_procfs;
struct list_head per_proc_data_hash[MCCTRL_PER_PROC_DATA_HASH_SIZE];