mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Dave McCracken <dmccr@us.ibm.com>
To: Ingo Molnar <mingo@elte.hu>, Linus Torvalds <torvalds@transmeta.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [patch] O(1) sys_exit(), threading, scalable-exit-2.5.31-A6
Date: Mon, 19 Aug 2002 13:31:38 -0500	[thread overview]
Message-ID: <61100000.1029781898@baldur.austin.ibm.com> (raw)
In-Reply-To: <Pine.LNX.4.44.0208192004110.30255-100000@localhost.localdomain>


--On Monday, August 19, 2002 08:08:10 PM +0200 Ingo Molnar <mingo@elte.hu>
wrote:

> the problem is that the tracing task wants to do a wait4() on all traced
> children, and the only way to get that is to have the traced tasks in the
> child list. Eg. strace -f traces a random number of tasks, and after the
> PTRACE_CONTINUE call, the wait4 done by strace must be able to 'get
> events' from pretty much any of the traced tasks. So unless the ptrace
> interface is reworked in an incompatible way, i cannot see how this would
> work. wait4 could perhaps somehow search the whole tasklist, but that
> could be a pretty big pain even for something like strace.

It seems to me it would be worth adding list_heads in the task struct for
ptraced tasks and ptraced siblings if it gets rid of the reparenting.

Dave McCracken

======================================================================
Dave McCracken          IBM Linux Base Kernel Team      1-512-838-3059
dmccr@us.ibm.com                                        T/L   678-3059


  reply	other threads:[~2002-08-19 18:27 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-08-19 12:16 Ingo Molnar
2002-08-19 16:15 ` [patch] O(1) sys_exit(), threading, scalable-exit-2.5.31-B4 Ingo Molnar
2002-08-19 17:42 ` [patch] O(1) sys_exit(), threading, scalable-exit-2.5.31-A6 Linus Torvalds
2002-08-19 17:44   ` Larry McVoy
2002-08-19 18:08   ` Ingo Molnar
2002-08-19 18:31     ` Dave McCracken [this message]
2002-08-19 18:36       ` Ingo Molnar
2002-08-19 18:51         ` Dave McCracken
2002-08-19 19:37           ` Ingo Molnar
2002-08-19 20:59           ` Ingo Molnar
2002-08-19 21:01             ` Dave McCracken
2002-08-19 21:29             ` Linus Torvalds
2002-08-19 21:42               ` Dave McCracken
2002-08-19 22:36                 ` Ingo Molnar
2002-08-20 14:32                   ` Dave McCracken
2002-08-20 14:36               ` Ingo Molnar
2002-08-27 15:39                 ` Daniel Jacobowitz
2002-08-28  2:53                   ` Daniel Jacobowitz
2002-08-20  3:21             ` Daniel Jacobowitz
2002-08-19 19:10         ` Linus Torvalds
2002-08-19 18:55       ` george anzinger
2002-08-19 19:15         ` Ingo Molnar
2002-08-19 20:03           ` george anzinger
2002-08-20 10:36     ` Richard Zidlicky

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=61100000.1029781898@baldur.austin.ibm.com \
    --to=dmccr@us.ibm.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@elte.hu \
    --cc=torvalds@transmeta.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®