mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Randy.Dunlap" <rddunlap@osdl.org>
To: linux-kernel@vger.kernel.org
Subject: Re: doublefault debugging (was Re: Linux v2.5.62 --- spontaneous reboots)
Date: Thu, 27 Feb 2003 15:32:43 -0800	[thread overview]
Message-ID: <20030227153243.7e7c08f3.rddunlap@osdl.org> (raw)
In-Reply-To: <Pine.LNX.4.44.0302200847060.2493-100000@home.transmeta.com>

| A sorted list of bad stack users (more than 256 bytes) in my default build
| follows. Anybody can create their own with something like
| 
| 	objdump -d linux/vmlinux |
| 		grep 'sub.*$0x...,.*esp' |
| 		awk '{ print $9,$1 }' |
| 		sort > bigstack
| 
| and a script to look up the addresses.
| 
| That ide_unregister() thing uses up >2kB in just one call! And there are 
| several in the 1.5kB range too, with a long list of ~500 byte offenders.
| 
| Yeah, and this assumes we don't have alloca() users or other dynamic 
| stack allocators (non-constant-size automatic arrays). I hope we don't 
| have that kind of crap anywhere..

Keith Owens did such a script over 1 year ago.  It's available from
  http://kernelnewbies.org/scripts/check-stack.sh
It also identifies (flags) dynamic stack allocation.
(course, I can't read Keith's as well as I can Linus's)

--
~Randy

  parent reply	other threads:[~2003-02-27 23:27 UTC|newest]

Thread overview: 93+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-02-17 23:18 Linux v2.5.62 Linus Torvalds
2003-02-18  0:03 ` Linux v2.5.62 --- spontaneous reboots Chris Wedgwood
2003-02-18  0:44   ` Jeff Garzik
2003-02-18  0:46     ` Chris Wedgwood
2003-02-18  1:42   ` Linus Torvalds
2003-02-18  1:53     ` Chris Wedgwood
2003-02-18  2:02       ` Linus Torvalds
2003-02-18  2:16         ` Chris Wedgwood
2003-02-18  2:33           ` Linus Torvalds
2003-02-18  3:21         ` Martin J. Bligh
2003-02-19 11:02         ` David Ford
2003-02-18 21:44     ` Chris Wedgwood
2003-02-18 21:59       ` Chris Wedgwood
2003-02-18 22:13         ` Linus Torvalds
2003-02-18 22:34           ` Linus Torvalds
2003-02-18 23:01         ` Chris Wedgwood
2003-02-19 23:35           ` doublefault debugging (was Re: Linux v2.5.62 --- spontaneous reboots) Linus Torvalds
2003-02-20  2:22             ` Zwane Mwaikambo
2003-02-20  2:26               ` William Lee Irwin III
2003-02-20  2:55                 ` Zwane Mwaikambo
2003-02-20  3:15                   ` William Lee Irwin III
2003-02-20  4:52               ` Linus Torvalds
2003-02-20  5:07                 ` William Lee Irwin III
2003-02-20  6:05                 ` Zwane Mwaikambo
2003-02-20 11:46                 ` Ingo Molnar
2003-02-20 12:12                   ` William Lee Irwin III
2003-02-20 12:33                     ` Ingo Molnar
2003-02-20 14:03                       ` Zwane Mwaikambo
2003-02-20 14:00                   ` Zwane Mwaikambo
2003-02-20 15:43                   ` Linus Torvalds
2003-02-20 15:52                     ` Ingo Molnar
2003-02-20 16:11                     ` Martin J. Bligh
2003-02-20 16:54                       ` Linus Torvalds
2003-02-20 17:24                         ` Jeff Garzik
2003-02-20 21:21                         ` Alan Cox
2003-02-20 20:20                           ` Linus Torvalds
2003-02-20 20:23                           ` Martin J. Bligh
2003-02-20 20:42                             ` William Lee Irwin III
2003-02-20 20:51                               ` Linus Torvalds
2003-02-21  7:39                         ` [PATCH] snd_pcm_oss_change_params is a stack offender Muli Ben-Yehuda
2003-02-21  7:58                           ` Andreas Dilger
2003-02-21  8:20                             ` Muli Ben-Yehuda
2003-02-27 18:50                         ` doublefault debugging (was Re: Linux v2.5.62 --- spontaneous reboots) Randy.Dunlap
2003-02-27 19:39                           ` Muli Ben-Yehuda
2003-02-27 19:47                             ` Randy.Dunlap
2003-03-02  6:12                           ` Keith Owens
2003-02-27 23:32                         ` Randy.Dunlap [this message]
2003-02-20 23:09                       ` Chris Wedgwood
2003-02-20 16:44                     ` Ingo Molnar
2003-02-20 20:13                     ` Chris Wedgwood
2003-02-18 12:13   ` Linux v2.5.62 --- spontaneous reboots Pavel Machek
2003-02-19 10:53 ` Linux v2.5.62 David Ford
2003-02-19  6:49   ` Thomas Molina
2003-02-19 11:04   ` Duncan Sands
2003-02-19 11:07     ` William Lee Irwin III
2003-02-19 11:58       ` Duncan Sands
2003-02-19 12:04         ` William Lee Irwin III
2003-02-19 11:17   ` Hirling Endre
2003-02-19 11:24     ` Duncan Sands
2003-02-19 11:52       ` Hirling Endre
2003-02-19 18:50   ` Zilvinas Valinskas
2003-02-19 21:46     ` Remco Post
2003-02-19 22:23       ` Remco Post
2003-02-20  1:13         ` Tom Rini
2003-02-20 19:42           ` Remco Post
2003-02-20 19:46             ` Tom Rini
2003-02-20 20:05               ` Remco Post
2003-02-20 13:31     ` Dave Jones
2003-02-20 13:57       ` Zilvinas Valinskas
2003-02-20 14:31         ` Dave Jones
2003-02-21  3:58     ` Alexander Hoogerhuis
2003-02-22  5:34       ` Alexander Hoogerhuis
     [not found] <Pine.LNX.4.44.0302201830580.474-100000@localhost.localdomain>
2003-02-20 18:01 ` doublefault debugging (was Re: Linux v2.5.62 --- spontaneous reboots) Linus Torvalds
2003-02-20 18:23   ` Linus Torvalds
2003-02-20 19:36     ` Ingo Molnar
2003-02-20 19:53       ` Ingo Molnar
2003-02-20 19:57         ` Ingo Molnar
2003-02-20 20:14           ` Ingo Molnar
2003-02-20 20:17           ` Linus Torvalds
2003-02-20 20:50             ` Andrew Morton
2003-02-20 22:04               ` Ingo Molnar
2003-02-20 22:42                 ` William Lee Irwin III
2003-02-21  7:05                   ` Ingo Molnar
2003-02-20 22:00             ` Ingo Molnar
2003-02-20 22:32               ` Linus Torvalds
2003-02-20 22:40                 ` Linus Torvalds
2003-02-20 22:45                   ` Linus Torvalds
2003-02-20 22:57                 ` John Levon
2003-02-20 23:21                 ` Ingo Molnar
2003-02-20 23:36                   ` Linus Torvalds
2003-02-21  7:00                     ` Ingo Molnar
2003-02-21 15:05                       ` Linus Torvalds
2003-02-20 19:00   ` Ingo Molnar

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=20030227153243.7e7c08f3.rddunlap@osdl.org \
    --to=rddunlap@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®