LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
From: "Jörn Engel" <joern@logfs.org>
To: Matthieu CASTET <matthieu.castet@parrot.com>
Cc: Linux Arm Mailing List <linux-arm-kernel@lists.arm.linux.org.uk>,
linux-kernel@vger.kernel.org, Arnd Bergmann <arnd@arndb.de>
Subject: Re: arm checkstack
Date: Tue, 4 Nov 2008 18:35:24 +0100 [thread overview]
Message-ID: <20081104173524.GB16036@logfs.org> (raw)
In-Reply-To: <49107304.2060006@parrot.com>
On Tue, 4 November 2008 17:06:28 +0100, Matthieu CASTET wrote:
>
> I wonder why the arm version of checkstack only catch stack size >= 300
> and < 10000 [1].
> Why doesn't it use ".*sub.*sp, sp, #([0-9]{1,8})" to catch all stack usage ?
Looks like a bug. And it further looks like Holger just copied what
everyone else did at the time. And the one who started this strange
pattern was: Arnd.
Arnd, did you have a good reason for choosing the pattern?
> [1]
> $re = qr/.*sub.*sp, sp, #(([0-9]{2}|[3-9])[0-9]{2})/o;
Jörn
--
The cost of changing business rules is much more expensive for software
than for a secretaty.
-- unknown
next prev parent reply other threads:[~2008-11-04 17:35 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-11-04 16:06 Matthieu CASTET
2008-11-04 17:35 ` Jörn Engel [this message]
2008-11-04 19:58 ` [Patch][Checkstack] Do not hide small stackframes Jörn Engel
2008-11-05 16:13 ` arm checkstack Arnd Bergmann
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=20081104173524.GB16036@logfs.org \
--to=joern@logfs.org \
--cc=arnd@arndb.de \
--cc=linux-arm-kernel@lists.arm.linux.org.uk \
--cc=linux-kernel@vger.kernel.org \
--cc=matthieu.castet@parrot.com \
--subject='Re: arm checkstack' \
/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
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).