rus_vm_fault: If page fault occurs in a thread that has not processed system call offloading, incorrectly return to normal.

refs #923
This commit is contained in:
Tomoki Shirasawa
2018-03-07 10:22:47 +09:00
parent 5cb75b00c7
commit 642520f80c

View File

@ -807,7 +807,7 @@ static int rus_vm_fault(struct vm_area_struct *vma, struct vm_fault *vmf)
packet = (struct ikc_scd_packet *)mcctrl_get_per_thread_data(ppd, current);
if (!packet) {
error = -ENOENT;
ret = VM_FAULT_SIGBUS;
printk("%s: no packet registered for TID %d\n",
__FUNCTION__, task_pid_vnr(current));
goto put_and_out;