linux-mips
[Top] [All Lists]

Re: [PATCH 1/7] signals: reduce {setup,restore}_sigcontext sizes

To: Franck Bui-Huu <vagabon.xyz@gmail.com>
Subject: Re: [PATCH 1/7] signals: reduce {setup,restore}_sigcontext sizes
From: Ralf Baechle <ralf@linux-mips.org>
Date: Tue, 23 Jan 2007 14:38:14 +0000
Cc: linux-mips@linux-mips.org, Franck Bui-Huu <fbuihuu@gmail.com>
In-reply-to: <11695619031540-git-send-email-fbuihuu@gmail.com>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <1169561903878-git-send-email-fbuihuu@gmail.com> <11695619031540-git-send-email-fbuihuu@gmail.com>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.4.2.2i
On Tue, Jan 23, 2007 at 03:18:17PM +0100, Franck Bui-Huu wrote:

> From: Franck Bui-Huu <fbuihuu@gmail.com>
> 
> This trivial change reduces considerably code size of these
> 2 functions callers. For instance, here is the figures for
> arch/kernel/signal.o objects:
> 
>    text    data     bss     dec     hex filename
>   11972       0       0   11972    2ec4 arch/mips/kernel/signal.o~old
>    5380       0       0    5380    1504 arch/mips/kernel/signal.o~new

Have you ran any benchmarks on this?  Unrolling the loops used to make
a noticable difference.

  Ralf

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