public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Brian Gerst <bgerst@didntduck.org>
To: cwidmer@iiic.ethz.ch
Cc: linux-kernel@vger.kernel.org
Subject: Re: stack overflow?
Date: Wed, 26 Sep 2001 09:29:26 -0400	[thread overview]
Message-ID: <3BB1D836.BD0166AB@didntduck.org> (raw)
In-Reply-To: <200109261003.f8QA3cg22792@mail.swissonline.ch>

Christian Widmer wrote:
> 
> hi
> 
> i saw very strange behaviour when debuging my modules and i start to think
> about stack overflow. i know that the kernel stack of eache process is some
> what smaller than 8KB. but how big is the kernelstack during interrupt time
> when executing tasklets?

Depends on the architecture, but on the x86 there is no stack switch
when you receive an interrupt in kernel mode.  Thus, if too many
interrupts occur you could potentially overflow the stack.  If
interrupted from user mode the stack switches to the top of the kernel
stack.

--

				Brian Gerst

  reply	other threads:[~2001-09-26 13:29 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-09-26 10:03 stack overflow? Christian Widmer
2001-09-26 13:29 ` Brian Gerst [this message]
2001-09-26 13:46   ` Christian Widmer
  -- strict thread matches above, loose matches on Subject: below --
2002-05-06 16:53 Stack overflow ? Ravi Wijayaratne

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=3BB1D836.BD0166AB@didntduck.org \
    --to=bgerst@didntduck.org \
    --cc=cwidmer@iiic.ethz.ch \
    --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