From: Keith Owens <kaos@ocs.com.au>
To: linux-ia64@vger.kernel.org
Subject: Re: load-store emulation with SIGSEGV (gate.S bug?)
Date: Fri, 17 Oct 2003 15:34:20 +0000 [thread overview]
Message-ID: <marc-linux-ia64-106640599821262@msgid-missing> (raw)
In-Reply-To: <marc-linux-ia64-106640456919155@msgid-missing>
On 17 Oct 2003 15:26:13 -0000,
Jeffrey William Lake <lakes@lakes.plus.com> wrote:
>After some investigation I discovered that a "flushrs" at the start of my
>signal handler cured the problem.
>
>Looking at "arch/ia64/kernel/gate.S" revealed that a "cover" is used to
>get the registers onto the backing store (commented as such several
>times), but by my understanding there is enough scope from the instruction
>description that they may be cached.
cover only marks the current frame (r32+) as dirty. It does not write
the dirty registers out to backing store, that is left to RSE to do at
its leisure. flushrs forces RSE to write the dirty registers out to
memory.
>Therefore, should gate.S include a
>"flushrs" as well or, for performance reasons be left for the user to
>decide?
Probably best left for the user to decide. The majority of signal
handlers will not require the registers to be flushed.
next prev parent reply other threads:[~2003-10-17 15:34 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-10-17 15:26 load-store emulation with SIGSEGV (gate.S bug?) Jeffrey William Lake
2003-10-17 15:34 ` Keith Owens [this message]
2003-10-17 15:57 ` David Mosberger
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=marc-linux-ia64-106640599821262@msgid-missing \
--to=kaos@ocs.com.au \
--cc=linux-ia64@vger.kernel.org \
/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