mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Jörn Engel" <joern@wohnheim.fh-wedel.de>
To: Chris Wright <chrisw@osdl.org>
Cc: Breno <brenosp@brasilsec.com.br>,
	Kernel List <linux-kernel@vger.kernel.org>
Subject: Re: Stack size
Date: Fri, 12 Sep 2003 23:37:35 +0200	[thread overview]
Message-ID: <20030912213735.GA11952@wohnheim.fh-wedel.de> (raw)
In-Reply-To: <20030912121119.C21503@build.pdx.osdl.net>

On Fri, 12 September 2003 12:11:19 -0700, Chris Wright wrote:
> 
> * Breno (brenosp@brasilsec.com.br) wrote:
> > Is there a test in kernel to know how much memory is consumed by stack ?
> 
> Have you looked at the CONFIG_DEBUG_STACKOVERFLOW code?

Just a band aid, not more.  If you want to be sure, poison the stack
on fork and check the poison on exit.

Jörn

-- 
Do not stop an army on its way home.
-- Sun Tzu

  reply	other threads:[~2003-09-12 21:37 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-10-12 12:35 Breno
2003-09-12 17:41 ` Chris Wright
2003-09-12 18:23   ` Breno
2003-09-12 19:11     ` Chris Wright
2003-09-12 21:37       ` Jörn Engel [this message]
2003-09-13  0:19   ` Matias Alejo Garcia
2003-09-12 19:18 ` Robert Love
2003-09-13 10:33 ` Alex Riesen

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=20030912213735.GA11952@wohnheim.fh-wedel.de \
    --to=joern@wohnheim.fh-wedel.de \
    --cc=brenosp@brasilsec.com.br \
    --cc=chrisw@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®