__do_in_kernel_syscall: Move ihk_ikc_release_packet from mcexec_wait_syscall
Change-Id: Ieeb5fda42dbddc9da27242f4b547c2143659f97a
This commit is contained in:
@ -1463,11 +1463,6 @@ retry_alloc:
|
||||
goto put_ppd_out;
|
||||
}
|
||||
|
||||
ihk_ikc_release_packet((struct ihk_ikc_free_packet *)packet,
|
||||
(usrdata->ikc2linux[smp_processor_id()] ?
|
||||
usrdata->ikc2linux[smp_processor_id()] :
|
||||
usrdata->ikc2linux[0]));
|
||||
|
||||
/* Drop reference to zero and restart from add */
|
||||
mcctrl_put_per_thread_data(ptd);
|
||||
pr_ptd("put,in_kernel", task_pid_vnr(current), ptd);
|
||||
|
||||
@ -2432,6 +2432,10 @@ sched_setparam_out:
|
||||
}
|
||||
|
||||
__return_syscall(os, packet, ret, 0);
|
||||
ihk_ikc_release_packet((struct ihk_ikc_free_packet *)packet,
|
||||
(usrdata->ikc2linux[smp_processor_id()] ?
|
||||
usrdata->ikc2linux[smp_processor_id()] :
|
||||
usrdata->ikc2linux[0]));
|
||||
|
||||
error = 0;
|
||||
out:
|
||||
|
||||
Reference in New Issue
Block a user