Re: [RFC] decrease tsk->signal->live before profile_task_exit

2020-06-08 Thread liuchao (CR)
Eric W. Biederman <mailto:ebied...@xmission.com> writes: > liuchao writes: > > > I want to dermine which thread is the last one to enter do_exit in > > profile_task_exit. But when a lot of threads exit, tsk->signal->live > > is not correct since it decrease a

[RFC] decrease tsk->signal->live before profile_task_exit

2020-05-27 Thread liuchao
I want to dermine which thread is the last one to enter do_exit in profile_task_exit. But when a lot of threads exit, tsk->signal->live is not correct since it decrease after profile_task_exit. Signed-off-by: liuchao --- kernel/exit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)