From: Matthew Wilcox <matthew@wil.cx>
To: Shi Weihua <shiwh@cn.fujitsu.com>
Cc: linux-kernel@vger.kernel.org, tony.luck@intel.com,
linux-ia64@vger.kernel.org
Subject: Re: [PATCH RFC][try 2] IA64 signal : remove redundant code in setup_sigcontext()
Date: Wed, 21 Nov 2007 20:32:49 -0700 [thread overview]
Message-ID: <20071122033249.GM12494@parisc-linux.org> (raw)
In-Reply-To: <4744F46B.6050004@cn.fujitsu.com>
On Thu, Nov 22, 2007 at 11:15:55AM +0800, Shi Weihua wrote:
> This patch removes some redundant code in the function setup_sigcontext().
>
> The registers ar.ccv,b7,r14,ar.csd,ar.ssd,r2-r3 and r16-r31 are not restored
> in restore_sigcontext() when (flags & IA64_SC_FLAG_IN_SYSCALL) is true.
> So we don't need to zero those variables in setup_sigcontext().
Erm, couldn't those registers contain information the process shouldn't
see?
--
Intel are signing my paycheques ... these opinions are still mine
"Bill, look, we understand that you're interested in selling us this
operating system, but compare it to ours. We can't possibly take such
a retrograde step."
next prev parent reply other threads:[~2007-11-22 3:32 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-11-22 3:15 [PATCH RFC][try 2] IA64 signal : remove redundant code in setup_sigcontext() Shi Weihua
2007-11-22 3:32 ` Matthew Wilcox [this message]
2007-12-18 23:29 ` Luck, Tony
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=20071122033249.GM12494@parisc-linux.org \
--to=matthew@wil.cx \
--cc=linux-ia64@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=shiwh@cn.fujitsu.com \
--cc=tony.luck@intel.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