From: Roland McGrath <roland@redhat.com>
To: Oleg Nesterov <oleg@tv-sign.ru>
Cc: Andrew Morton <akpm@osdl.org>,
"Eric W. Biederman" <ebiederm@xmission.com>,
Ingo Molnar <mingo@elte.hu>,
"Paul E. McKenney" <paulmck@us.ibm.com>,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH 3/4] coredump: kill ptrace related stuff
Date: Mon, 10 Apr 2006 18:21:09 -0700 (PDT) [thread overview]
Message-ID: <20060411012109.4DB3A1809D1@magilla.sf.frob.com> (raw)
In-Reply-To: Oleg Nesterov's message of Monday, 10 April 2006 17:35:52 +0400 <20060410133511.GA85@oleg>
> It turns out I misread SIGNAL_GROUP_EXIT check in ptrace_stop(),
> didn't notice '(->parent->signal != current->signal) ||' before
> it.
I thought that might have been it.
> Do you see any solution which doesn't need tasklist_lock to be
> held while traversing global process list?
Eh, kind of, but I'm not sure I want to get into it. This only comes up in
a pathological case and we don't actually take the lock unless the weird
case really happened. My inclination is to get the rest of the cleanups
and optimizations ironed out and merged in first. Then we can revisit this
oddball case later on.
> > > 3. Can't go to do_signal_stop() after return
> > > from ptrace_stop() in get_signal_to_deliver()
> >
> > This is only true because of the check in get_signal_to_deliver,
> > which I've said I think should be taken out for other reasons.
>
> Yes, changelog refers to SIGNAL_GROUP_EXIT check in get_signal_to_deliver.
> However, do_signal_stop() returns 0 when it doesn't see SIGNAL_STOP_DEQUEUED,
> (which was cleared by SIGNAL_GROUP_EXIT), so I think we don't depend on
> SIGNAL_GROUP_EXIT check in get_signal_to_deliver. No?
Ah yes, you are right. So there is no conflict with removing the check as
I want to do.
Thanks,
Roland
next prev parent reply other threads:[~2006-04-11 1:21 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-04-06 22:06 Oleg Nesterov
2006-04-10 4:54 ` Roland McGrath
2006-04-10 13:35 ` Oleg Nesterov
2006-04-11 1:21 ` Roland McGrath [this message]
2006-04-13 12:58 ` Oleg Nesterov
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=20060411012109.4DB3A1809D1@magilla.sf.frob.com \
--to=roland@redhat.com \
--cc=akpm@osdl.org \
--cc=ebiederm@xmission.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@elte.hu \
--cc=oleg@tv-sign.ru \
--cc=paulmck@us.ibm.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®