From: Matt Mackall <mpm@selenic.com>
To: linux-kernel <linux-kernel@vger.kernel.org>,
Andrew Morton <akpm@osdl.org>
Subject: [patch] Fix stack overflow test for non-8k stacks
Date: Sun, 14 Mar 2004 17:56:19 -0600 [thread overview]
Message-ID: <20040314235619.GY20174@waste.org> (raw)
This is needed to work properly with 4k and 16k stacks. Please apply.
test-mpm/arch/i386/kernel/entry.S | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
diff -puN arch/i386/kernel/entry.S~stack_overflow arch/i386/kernel/entry.S
--- test/arch/i386/kernel/entry.S~stack_overflow 2004-03-14 17:37:47.000000000 -0600
+++ test-mpm/arch/i386/kernel/entry.S 2004-03-14 17:49:25.000000000 -0600
@@ -55,7 +55,7 @@
*/
#ifdef CONFIG_STACK_OVERFLOW_TEST
#define STACK_OVERFLOW_TEST \
- testl $7680,%esp; \
+ testl $(THREAD_SIZE - 512),%esp; \
jnz 10f; \
call stack_overflow; \
10:
_
--
Matt Mackall : http://www.selenic.com : Linux development and consulting
reply other threads:[~2004-03-14 23:56 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20040314235619.GY20174@waste.org \
--to=mpm@selenic.com \
--cc=akpm@osdl.org \
--cc=linux-kernel@vger.kernel.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
all inboxes | Powered by JetHome®