remote_page_fault,syscall_backward: Zero-clear waitq entry

Change-Id: I151a35004183e911aaba766a8749830e1768bfe6
This commit is contained in:
Masamichi Takagi
2018-09-04 17:59:02 +09:00
parent 7803468afe
commit 460917c4a0

View File

@ -348,6 +348,7 @@ retry_alloc:
printk("WARNING: coudln't alloc wait queue head, retrying..\n");
goto retry_alloc;
}
memset(wqhln, 0, sizeof(struct wait_queue_head_list_node));
/* Prepare per-thread wait queue head */
wqhln->task = current;
@ -527,6 +528,7 @@ retry_alloc:
printk("WARNING: coudln't alloc wait queue head, retrying..\n");
goto retry_alloc;
}
memset(wqhln, 0, sizeof(struct wait_queue_head_list_node));
/* Prepare per-thread wait queue head */
wqhln->task = current;