public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Q: do_notify_parent/do_notify_parent_cldstop && info.si_xtime
@ 2009-05-26 21:13 Oleg Nesterov
  2009-05-27  1:40 ` Roland McGrath
  0 siblings, 1 reply; 2+ messages in thread
From: Oleg Nesterov @ 2009-05-26 21:13 UTC (permalink / raw)
  To: Roland McGrath; +Cc: linux-kernel

do_notify_parent() reports .si_Xtime = tsk->Xtime + signal->Xtime,
but do_notify_parent_cldstop() uses .si_Xtime =  tsk->Xtime.

Is this right?

Yes, tsk->Xtime + signal->Xtime does not make much sense for
do_notify_parent_cldstop(), but reporting group_leader->Xtime
(if not traced) doesn't look very right too. IOW, perhaps we
need thread_group_cputime() here?

Ole.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-05-27  1:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-05-26 21:13 Q: do_notify_parent/do_notify_parent_cldstop && info.si_xtime Oleg Nesterov
2009-05-27  1:40 ` Roland McGrath

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox