From: Roland McGrath <roland@redhat.com>
To: Anton Blanchard <anton@samba.org>
Cc: mingo@elte.hu, linux-kernel@vger.kernel.org
Subject: Re: FP state in threaded coredumps
Date: Mon, 2 Jun 2003 11:47:05 -0700 [thread overview]
Message-ID: <200306021847.h52Il5V06194@magilla.sf.frob.com> (raw)
In-Reply-To: Anton Blanchard's message of Tuesday, 3 June 2003 04:30:47 +1000 <20030602183047.GF1169@krispykreme>
> I was adding threaded coredump support to ppc64 and noticed that the
> ELF_CORE_SYNC hook was never called. It looks like we need something
> like this on archs that do lazy FP save/restore to ensure the FP state
> for threads running on other cpus is up to date.
All the threads already synchronize with coredump_wait in __exit_mm. A
thread reaching that point already has control of the CPU that might be
holding its FPU state. It seems to me it would be simplest and most
efficient to just do any necessary copy-in there, before
`complete(mm->core_startup_done)'.
Thanks,
Roland
prev parent reply other threads:[~2003-06-02 18:33 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-06-02 18:30 Anton Blanchard
2003-06-02 18:47 ` Roland McGrath [this message]
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=200306021847.h52Il5V06194@magilla.sf.frob.com \
--to=roland@redhat.com \
--cc=anton@samba.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@elte.hu \
/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®