Linux MIPS Architecture development
 help / color / mirror / Atom feed
From: Franck Bui-Huu <vagabon.xyz@gmail.com>
To: ralf@linux-mips.org
Cc: linux-mips@linux-mips.org
Subject: [PATCH 0/7] Clean up signal code
Date: Tue, 23 Jan 2007 15:18:16 +0100	[thread overview]
Message-ID: <1169561903878-git-send-email-fbuihuu@gmail.com> (raw)

Hi,

This patchset cleans up signal related code by factorizing code
shared by all signal sources. The consequence is that the signal
code is decreased a lot.

This patchset has been splitted out into 7 differents patches
to ease code review.

Two questions are still open: 

    (a) It seems that the status register is not saved by
        setup_sigcontext() and therefore not restored by
        restore_sigcontext(). Is it a bug ?

    (b) Status register is saved by setup_sigcontext32() but
        not restored by restore_sigcontext(). Is it a bug ?

Unfortunately I do not have any 64 bits cross compiler setup
and no adequate plateforms to test the changes introduced by
this patchset in signal32.c and signal_n32.c. If someone
could give it a try, that would be nice.

Please, consider.

		Franck
---
 arch/mips/kernel/signal-common.h |  194 +++++------------------
 arch/mips/kernel/signal.c        |  216 ++++++++++++++++++++------
 arch/mips/kernel/signal32.c      |  326 +++++++++++++++-----------------------
 arch/mips/kernel/signal_n32.c    |   26 ++--
 4 files changed, 354 insertions(+), 408 deletions(-)

             reply	other threads:[~2007-01-23 14:16 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-01-23 14:18 Franck Bui-Huu [this message]
2007-01-23 14:18 ` [PATCH 1/7] signals: reduce {setup,restore}_sigcontext sizes Franck Bui-Huu
2007-01-23 14:38   ` Ralf Baechle
2007-01-23 16:26     ` Franck Bui-Huu
2007-01-23 16:36       ` Ralf Baechle
2007-01-24 12:25     ` Franck Bui-Huu
2007-01-23 14:18 ` [PATCH 2/7] signal: do not inline functions in signal-common.h Franck Bui-Huu
2007-01-23 14:18 ` [PATCH 3/7] signal: clean up sigframe structure Franck Bui-Huu
2007-01-23 14:35   ` Ralf Baechle
2007-01-23 15:00     ` Franck Bui-Huu
2007-01-23 17:17       ` Ralf Baechle
2007-01-23 14:18 ` [PATCH 4/7] signal32: remove code duplication Franck Bui-Huu
2007-01-23 14:18 ` [PATCH 5/7] signal: test return value of install_sigtramp() Franck Bui-Huu
2007-01-23 14:18 ` [PATCH 6/7] signal: factorize debug code Franck Bui-Huu
2007-01-23 14:18 ` [PATCH 7/7] signal32: reduce {setup,restore}_sigcontext32 sizes Franck Bui-Huu
2007-01-23 14:32 ` [PATCH 0/7] Clean up signal code Ralf Baechle
2007-01-23 14:54   ` Franck Bui-Huu
2007-01-23 14:58   ` Daniel Jacobowitz

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=1169561903878-git-send-email-fbuihuu@gmail.com \
    --to=vagabon.xyz@gmail.com \
    --cc=linux-mips@linux-mips.org \
    --cc=ralf@linux-mips.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