when wakeup for syscall and recieve signal occur in the same timing, a program is freezed.

This commit is contained in:
Tomoki Shirasawa
2014-07-25 10:54:30 +09:00
parent 10190e9ed6
commit 17730617e1

View File

@ -407,6 +407,10 @@ retry_alloc:
ret = wait_event_interruptible(wqhln->wq_syscall, wqhln->req);
if (ret) {
return -EINTR;
}
/* Remove per-process wait queue head */
irqflags = ihk_ikc_spinlock_lock(&c->wq_list_lock);
list_del(&wqhln->list);
@ -425,10 +429,6 @@ retry_alloc:
return -EINTR;
}
if (ret) {
return -EINTR;
}
#if 1
mb();
if (!c->param.request_va->valid) {