On Wed, May 16, 2012 at 12:47:14PM +0200, Denys Vlasenko wrote: > On 05/16/2012 11:48 AM, Dmitry V. Levin wrote: [...] > >> One solution is to run waitpid() in a loop until it returns 0 "no more > >> tracees > >> to wait", then handle them all. It was NAKed a few years ago. > > > > It would be nice to have a look at that discussion. Do you have a > > reference? What was the rationale that time? > > I guess Roland saw it as "ugly" and "trying to work around ptrace API > which is a hopelessly bad API anyway". > > On the technical note, it adds additional waitpid call per every > syscall entry/exit,
So its cost is quite noticeable, and therefore this fair scheduling is not always desirable. Is it possible to implement the feature as an option? -- ldv
pgpAL3m1QJFk5.pgp
Description: PGP signature
------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________ Strace-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/strace-devel
