use ftn->pid instead of proc->pid
This commit is contained in:
@@ -379,7 +379,7 @@ static int process_msg_prepare_process(unsigned long rphys)
|
|||||||
goto err;
|
goto err;
|
||||||
}
|
}
|
||||||
|
|
||||||
dkprintf("new process : %p [%d] / table : %p\n", proc, proc->pid,
|
dkprintf("new process : %p [%d] / table : %p\n", proc, proc->ftn->pid,
|
||||||
proc->vm->page_table);
|
proc->vm->page_table);
|
||||||
|
|
||||||
ihk_mc_free(pn);
|
ihk_mc_free(pn);
|
||||||
|
|||||||
@@ -1666,7 +1666,7 @@ unsigned long do_fork(int clone_flags, unsigned long newsp,
|
|||||||
/* In a single threaded process TID equals to PID */
|
/* In a single threaded process TID equals to PID */
|
||||||
settid(new, 0, cpuid, -1);
|
settid(new, 0, cpuid, -1);
|
||||||
|
|
||||||
dkprintf("fork(): new pid: %d\n", new->pid);
|
dkprintf("fork(): new pid: %d\n", new->ftn->pid);
|
||||||
/* clear user space PTEs and set new rpgtable so that consequent
|
/* clear user space PTEs and set new rpgtable so that consequent
|
||||||
* page faults will look up the right mappings */
|
* page faults will look up the right mappings */
|
||||||
request1.number = __NR_munmap;
|
request1.number = __NR_munmap;
|
||||||
|
|||||||
@@ -167,7 +167,7 @@ void wake_timers_loop(void)
|
|||||||
list_del(&timer->list);
|
list_del(&timer->list);
|
||||||
|
|
||||||
dkprintf("timers timeout occurred, waking up pid: %d\n",
|
dkprintf("timers timeout occurred, waking up pid: %d\n",
|
||||||
timer->proc->pid);
|
timer->proc->ftn->pid);
|
||||||
|
|
||||||
waitq_wakeup(&timer->processes);
|
waitq_wakeup(&timer->processes);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user