Clean up signal code
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest7 patches 10 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/7 | signals: reduce {setup,restore}_sigcontext sizesarch/ | +7 | 4 replies | |
| 2/7 | signal: do not inline functions in signal-common.harch/ arch/ | +156 | 0 replies | |
| 3/7 | signal: clean up sigframe structurearch/ arch/ arch/ +1 more | +81 | 3 replies | |
| 4/7 | signal32: remove code duplicationarch/ | +4 | 0 replies | |
| 5/7 | signal: test return value of install_sigtramp()arch/ | +3 | 0 replies | |
| 6/7 | signal: factorize debug codearch/ arch/ arch/ +1 more | +21 | 0 replies | |
| 7/7 | signal32: reduce {setup,restore}_sigcontext32 sizesarch/ | +97 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/7] Clean up signal code
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(-)