* [GIT PULL] parisc architecture patch for v3.18
@ 2014-10-12 10:08 Helge Deller
2014-10-13 13:41 ` One Thousand Gnomes
0 siblings, 1 reply; 4+ messages in thread
From: Helge Deller @ 2014-10-12 10:08 UTC (permalink / raw)
To: Linus Torvalds, linux-kernel, linux-parisc, James Bottomley,
John David Anglin, Carlos O'Donell
Hi Linus,
please pull one patch for the parisc architecture for kernel 3.18 from
git://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux.git parisc-3.18-1
This patch intentionally breaks the ABI on PARISC Linux!
It assigns new numbers to SIGSTKFLT, SIGXCPU, SIGXFSZ and SIGSYS so that
those are below 32 and thus leaves us with 32 RT signals like other
Linux architectures (SIGRTMIN now becomes 32 instead of 37).
Even if it breaks the ABI, it doesn't seem to have any visible impact on
existing userspace applications. I was able to mix new kernel and/or
glibc without impacting normal bootup. So, even if it breaks the ABI,
the benefits (e.g. being able to use systemd on PARISC Linux)
outperforms the minimal (if any) impact it gives.
The patch has been discussed on the parisc kernel mailing list and the
coresponding glibc patch will be committed by the parisc glibc
maintainer after this patch went into 3.18.
Some more background information about this patch is in the commit
message.
Thanks,
Helge
----------------------------------------------------------------
Helge Deller (1):
parisc: Reduce SIGRTMIN from 37 to 32 to behave like other Linux architectures
arch/parisc/include/uapi/asm/signal.h | 16 ++++++----------
1 file changed, 6 insertions(+), 10 deletions(-)
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [GIT PULL] parisc architecture patch for v3.18
2014-10-12 10:08 [GIT PULL] parisc architecture patch for v3.18 Helge Deller
@ 2014-10-13 13:41 ` One Thousand Gnomes
2014-10-13 20:24 ` Helge Deller
0 siblings, 1 reply; 4+ messages in thread
From: One Thousand Gnomes @ 2014-10-13 13:41 UTC (permalink / raw)
To: Helge Deller
Cc: Linus Torvalds, linux-kernel, linux-parisc, James Bottomley,
John David Anglin, Carlos O'Donell
On Sun, 12 Oct 2014 12:08:37 +0200
Helge Deller <deller@gmx.de> wrote:
> Hi Linus,
>
> please pull one patch for the parisc architecture for kernel 3.18 from
> git://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux.git parisc-3.18-1
>
> This patch intentionally breaks the ABI on PARISC Linux!
>
> It assigns new numbers to SIGSTKFLT, SIGXCPU, SIGXFSZ and SIGSYS so that
> those are below 32 and thus leaves us with 32 RT signals like other
> Linux architectures (SIGRTMIN now becomes 32 instead of 37).
>
> Even if it breaks the ABI, it doesn't seem to have any visible impact on
> existing userspace applications.
I somehow doubt your kill command magically corrects its signal numbering
table. Likewise what does gdb do given a core dump that died from one of
those signals, and what does your shell report if you kill one that way.
It seems to me your minimal set of binaries to swap to get it right is
non-zero but not problematic (libc, kill, shells, top, gdb) ?
I can however really only think of one app that actually *used* SIGXCPU,
and that was to respawn itself to avoid annoying sysadmin set CPU limits
anyway.
Alan
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [GIT PULL] parisc architecture patch for v3.18
2014-10-13 13:41 ` One Thousand Gnomes
@ 2014-10-13 20:24 ` Helge Deller
2014-10-13 21:32 ` Aaro Koskinen
0 siblings, 1 reply; 4+ messages in thread
From: Helge Deller @ 2014-10-13 20:24 UTC (permalink / raw)
To: One Thousand Gnomes
Cc: Linus Torvalds, linux-kernel, linux-parisc, James Bottomley,
John David Anglin, Carlos O'Donell
On 10/13/2014 03:41 PM, One Thousand Gnomes wrote:
> On Sun, 12 Oct 2014 12:08:37 +0200
> Helge Deller <deller@gmx.de> wrote:
>
>> Hi Linus,
>>
>> please pull one patch for the parisc architecture for kernel 3.18 from
>> git://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux.git parisc-3.18-1
>>
>> This patch intentionally breaks the ABI on PARISC Linux!
>>
>> It assigns new numbers to SIGSTKFLT, SIGXCPU, SIGXFSZ and SIGSYS so that
>> those are below 32 and thus leaves us with 32 RT signals like other
>> Linux architectures (SIGRTMIN now becomes 32 instead of 37).
>>
>> Even if it breaks the ABI, it doesn't seem to have any visible impact on
>> existing userspace applications.
>
> I somehow doubt your kill command magically corrects its signal numbering
> table. Likewise what does gdb do given a core dump that died from one of
> those signals, and what does your shell report if you kill one that way.
> It seems to me your minimal set of binaries to swap to get it right is
> non-zero but not problematic (libc, kill, shells, top, gdb) ?
My patch of course just marks the start of a transition phase, in which
some few applications need to be rebuilt (libc as the most important one).
But after all it makes a somewhat smooth transition possible, and as I
wrote in the commit message this is the best solution (out of 3) with the
least impact which we have.
> I can however really only think of one app that actually *used* SIGXCPU,
> and that was to respawn itself to avoid annoying sysadmin set CPU limits
> anyway.
:-)
Helge
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [GIT PULL] parisc architecture patch for v3.18
2014-10-13 20:24 ` Helge Deller
@ 2014-10-13 21:32 ` Aaro Koskinen
0 siblings, 0 replies; 4+ messages in thread
From: Aaro Koskinen @ 2014-10-13 21:32 UTC (permalink / raw)
To: Helge Deller
Cc: One Thousand Gnomes, Linus Torvalds, linux-kernel, linux-parisc,
James Bottomley, John David Anglin, Carlos O'Donell
Hi,
On Mon, Oct 13, 2014 at 10:24:53PM +0200, Helge Deller wrote:
> On 10/13/2014 03:41 PM, One Thousand Gnomes wrote:
> >I somehow doubt your kill command magically corrects its signal numbering
> >table. Likewise what does gdb do given a core dump that died from one of
> >those signals, and what does your shell report if you kill one that way.
> >It seems to me your minimal set of binaries to swap to get it right is
> >non-zero but not problematic (libc, kill, shells, top, gdb) ?
>
> My patch of course just marks the start of a transition phase, in which
> some few applications need to be rebuilt (libc as the most important one).
Busybox handles changed signals correctly after rebuilding against
new headers. Based on quick look, GDB has never known about
PA-RISC specific numbers, so it has probably always reported some
wrong signal name...
A.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2014-10-13 21:32 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-10-12 10:08 [GIT PULL] parisc architecture patch for v3.18 Helge Deller
2014-10-13 13:41 ` One Thousand Gnomes
2014-10-13 20:24 ` Helge Deller
2014-10-13 21:32 ` Aaro Koskinen
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.