LinuxPPC-Dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Haren Myneni <haren@linux.vnet.ibm.com>
To: amodra@gmail.com, benh@kernel.crashing.org
Cc: linuxppc-dev@lists.ozlabs.org
Subject: Change MINSIGSTKSZ and SIGSTKSIZE
Date: Sat, 12 Apr 2014 02:59:55 -0700	[thread overview]
Message-ID: <1397296795.11946.42.camel@hbabu-laptop> (raw)

Alan, 
	LTP test (signalstack02) is failing. This test expects -ENOMEM from
kernel when passing less than stack size (passing 4095). MINSIGSTKSZ in
signal.h (glibc) is changed to 4096 to support VSX changes
(https://sourceware.org/git/?p=glibc.git;a=commitdiff;h=f7c399cff5bd04ee9dc117fb6b0f39597dc047c6)  We should also change these values in kernel to match with glibc. Any issues? 

diff --git a/arch/powerpc/include/uapi/asm/signal.h
b/arch/powerpc/include/uapi/
index 6c69ee9..18f498e 100644
--- a/arch/powerpc/include/uapi/asm/signal.h
+++ b/arch/powerpc/include/uapi/asm/signal.h
@@ -85,8 +85,8 @@ typedef struct {
 
 #define SA_RESTORER    0x04000000U
 
-#define MINSIGSTKSZ    2048
-#define SIGSTKSZ       8192
+#define MINSIGSTKSZ    4096
+#define SIGSTKSZ       16384

Thanks
Haren

             reply	other threads:[~2014-04-12 10:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-04-12  9:59 Haren Myneni [this message]
2014-04-14  6:53 ` Change MINSIGSTKSZ and SIGSTKSIZE Alan Modra

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=1397296795.11946.42.camel@hbabu-laptop \
    --to=haren@linux.vnet.ibm.com \
    --cc=amodra@gmail.com \
    --cc=benh@kernel.crashing.org \
    --cc=linuxppc-dev@lists.ozlabs.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