linux-mips
[Top] [All Lists]

Re: [PATCH 9/10] signal: do not use save_static_function() anymore

To: vagabon.xyz@gmail.com
Subject: Re: [PATCH 9/10] signal: do not use save_static_function() anymore
From: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Date: Thu, 08 Feb 2007 00:40:49 +0900 (JST)
Cc: ralf@linux-mips.org, linux-mips@linux-mips.org, fbuihuu@gmail.com
In-reply-to: <11706854703880-git-send-email-fbuihuu@gmail.com>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <11706854683935-git-send-email-fbuihuu@gmail.com> <11706854703880-git-send-email-fbuihuu@gmail.com>
Sender: linux-mips-bounce@linux-mips.org
On Mon,  5 Feb 2007 15:24:27 +0100, Franck Bui-Huu <vagabon.xyz@gmail.com> 
wrote:
> For the sys_sigsuspend() case, I don't see any reasons...

Maybe that was needed before commit
7b3e2fc847c8325a7b35185fa1fc2f1729ed9c5b.  At that time
sys_sigsuspend() called do_signal() (which includes
setup_sigcontext()) directly.  So all registers must be saved to
kernel stack.

Now do_signal() is called only from do_notify_resume(), so I agree
save_static_function is not needed.
---
Atsushi Nemoto

<Prev in Thread] Current Thread [Next in Thread>