From: "Randy.Dunlap" <rddunlap@osdl.org>
To: joern@wohnheim.fh-wedel.de, lkml <linux-kernel@vger.kernel.org>
Subject: checkstack.pl <large_number>
Date: Fri, 18 Feb 2005 11:12:45 -0800 [thread overview]
Message-ID: <42163E2D.8050106@osdl.org> (raw)
Hi,
In checkstack.pl, do you recall the reason for this code snippet:
if ($size > 0x80000000) {
$size = - $size;
$size += 0x80000000;
$size += 0x80000000;
}
There is one (unusual:) case where it fails. Is it needed?
For arch/i386/kernel/efi_stub.S, checkstack reports:
0xc0116f5d efi_call_phys: 1073741824
which is 0x4000_0000 (_ added for readability only), however the
actual change in %esp there is __PAGE_OFFSET (0xc000_0000 on ia32),
so if I alter the "if" test above to check for > 0xf000_0000,
checkstack reports the correct value:
0xc0116f5d efi_call_phys: 3221225472
which is 0xc000_0000.
from objdump of efi_stub.o:
5: 81 ea 00 00 00 c0 sub $0xc0000000,%edx
or I can just ignore it, like I've been doing for awhile...
--
~Randy
next reply other threads:[~2005-02-18 19:13 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-02-18 19:12 Randy.Dunlap [this message]
2005-02-21 12:38 ` checkstack.pl <large_number> Jörn Engel
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=42163E2D.8050106@osdl.org \
--to=rddunlap@osdl.org \
--cc=joern@wohnheim.fh-wedel.de \
--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