remote_page_fault,syscall_backward: Zero-clear waitq entry
Change-Id: I151a35004183e911aaba766a8749830e1768bfe6
This commit is contained in:
@@ -348,6 +348,7 @@ retry_alloc:
|
|||||||
printk("WARNING: coudln't alloc wait queue head, retrying..\n");
|
printk("WARNING: coudln't alloc wait queue head, retrying..\n");
|
||||||
goto retry_alloc;
|
goto retry_alloc;
|
||||||
}
|
}
|
||||||
|
memset(wqhln, 0, sizeof(struct wait_queue_head_list_node));
|
||||||
|
|
||||||
/* Prepare per-thread wait queue head */
|
/* Prepare per-thread wait queue head */
|
||||||
wqhln->task = current;
|
wqhln->task = current;
|
||||||
@@ -527,6 +528,7 @@ retry_alloc:
|
|||||||
printk("WARNING: coudln't alloc wait queue head, retrying..\n");
|
printk("WARNING: coudln't alloc wait queue head, retrying..\n");
|
||||||
goto retry_alloc;
|
goto retry_alloc;
|
||||||
}
|
}
|
||||||
|
memset(wqhln, 0, sizeof(struct wait_queue_head_list_node));
|
||||||
|
|
||||||
/* Prepare per-thread wait queue head */
|
/* Prepare per-thread wait queue head */
|
||||||
wqhln->task = current;
|
wqhln->task = current;
|
||||||
|
|||||||
Reference in New Issue
Block a user