mcexec_create_per_process_data: Zero ppd on allocation
Change-Id: I06306f30ce30ad6ddc6e8b8cab46ee39be0e4940
This commit is contained in:
@ -1663,6 +1663,7 @@ int mcexec_create_per_process_data(ihk_os_t os)
|
|||||||
printk("%s: ERROR: allocating per-process data\n", __FUNCTION__);
|
printk("%s: ERROR: allocating per-process data\n", __FUNCTION__);
|
||||||
return -ENOMEM;
|
return -ENOMEM;
|
||||||
}
|
}
|
||||||
|
memset(ppd, 0, sizeof(struct mcctrl_per_proc_data)); /* debug */
|
||||||
|
|
||||||
ppd->ud = usrdata;
|
ppd->ud = usrdata;
|
||||||
ppd->pid = task_tgid_vnr(current);
|
ppd->pid = task_tgid_vnr(current);
|
||||||
|
|||||||
Reference in New Issue
Block a user