From: Roland McGrath <roland@redhat.com>
To: Oleg Nesterov <oleg@redhat.com>
Cc: Andrew Morton <akpm@linux-foundation.org>,
Veaceslav Falico <vfalico@redhat.com>,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH 0/4] signal_struct->count must die, initial changes
Date: Wed, 17 Mar 2010 14:50:33 -0700 (PDT) [thread overview]
Message-ID: <20100317215033.867F9BD1A@magilla.sf.frob.com> (raw)
In-Reply-To: Oleg Nesterov's message of Wednesday, 17 March 2010 20:28:47 +0100 <20100317192847.GA2086@redhat.com>
> signal_struct->count in its current form must die.
Agreed. This series
Acked-by: Roland McGrath <roland@redhat.com>
> - otoh, we really need to make task->signal refcountable,
> just look at the extremely ugly task_rq_unlock_wait()
> called from __exit_signals().
Another of many good reasons for...
> - we should change the lifetime rules for task->signal,
> it should be pinned to task_struct. We have a lot of
> code which can be simplified after that.
Yes, and sighand too. I think there will be quite a torrent of cleanup we
can do after that.
Remember too that we should really change de_thread() altogether. It has
long-standing signal-losing races that we should fix. Changing the
lifetime rules may complicate that, or not. But they'll tie in together,
and when we do that we'll replace the notify_count again with something
else entirely.
Thanks,
Roland
next prev parent reply other threads:[~2010-03-17 21:50 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-03-17 19:28 Oleg Nesterov
2010-03-17 21:50 ` Roland McGrath [this message]
2010-03-18 16:49 ` Veaceslav Falico
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=20100317215033.867F9BD1A@magilla.sf.frob.com \
--to=roland@redhat.com \
--cc=akpm@linux-foundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=oleg@redhat.com \
--cc=vfalico@redhat.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®