remote_page_fault is handled by the offloaded thread.
Change-Id: I9cfad509260cceada74abdf39ca6a1822561e0d9 Refs: #1474
This commit is contained in:
committed by
Masamichi Takagi
parent
9c7d0cfaec
commit
7efb394905
@ -246,6 +246,16 @@ long do_syscall(struct syscall_request *req, int cpu)
|
||||
unsigned long flags;
|
||||
DECLARE_WAITQ_ENTRY(scd_wq_entry, cpu_local_var(current));
|
||||
|
||||
if (thread->rpf_backlog) {
|
||||
void (*func)(void *) = thread->rpf_backlog;
|
||||
void *arg = thread->rpf_arg;
|
||||
|
||||
thread->rpf_backlog = NULL;
|
||||
thread->rpf_arg = NULL;
|
||||
func(arg);
|
||||
kfree(arg);
|
||||
}
|
||||
|
||||
check_sig_pending();
|
||||
cpu_pause();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user