remote_page_fault: Retry when interrupted
Change-Id: Ib71a87ad03420e1918dc97da43351cb93e7d0754
This commit is contained in:
@@ -543,6 +543,12 @@ retry_alloc:
|
|||||||
/* wait for response */
|
/* wait for response */
|
||||||
error = wait_event_interruptible(wqhln->wq_syscall, wqhln->req);
|
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 */
|
/* Remove per-thread wait queue head */
|
||||||
irqflags = ihk_ikc_spinlock_lock(&ppd->wq_list_lock);
|
irqflags = ihk_ikc_spinlock_lock(&ppd->wq_list_lock);
|
||||||
list_del(&wqhln->list);
|
list_del(&wqhln->list);
|
||||||
|
|||||||
Reference in New Issue
Block a user