remote_page_fault: Retry when interrupted
Change-Id: Ib71a87ad03420e1918dc97da43351cb93e7d0754
This commit is contained in:
@ -542,7 +542,13 @@ retry_alloc:
|
||||
__FUNCTION__, task_pid_vnr(current), fault_addr);
|
||||
/* wait for response */
|
||||
error = wait_event_interruptible(wqhln->wq_syscall, wqhln->req);
|
||||
|
||||
|
||||
/* Delay signal handling */
|
||||
if (error == -ERESTARTSYS) {
|
||||
printk("%s: INFO: interrupted by signal\n", __FUNCTION__);
|
||||
continue;
|
||||
}
|
||||
|
||||
/* Remove per-thread wait queue head */
|
||||
irqflags = ihk_ikc_spinlock_lock(&ppd->wq_list_lock);
|
||||
list_del(&wqhln->list);
|
||||
|
||||
Reference in New Issue
Block a user