mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Jake Moilanen <moilanen@austin.ibm.com>
To: jmerkey@galt.devicelogics.com
Cc: akpm@osdl.org, torvalds@osdl.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH 1/2] Spinlock timeout
Date: Tue, 6 Jul 2004 17:15:36 -0500	[thread overview]
Message-ID: <20040706171536.7052fca4.moilanen@austin.ibm.com> (raw)
In-Reply-To: <20040706204314.GA16951@galt.devicelogics.com>

On Tue, 6 Jul 2004 14:43:14 -0600
jmerkey@galt.devicelogics.com wrote:

> 
> 
> You should also for the UP case of Linux keep a counter 
> and call BUG() when someone calls a spinlock twice rather than
> just push, cli, and pop interrupt flags.  Guess what, this
> allows you to catch most deadlock bugs with spinlocks 

Isn't this what CONFIG_DEBUG_SPINLOCK is for?

Thanks,
Jake

      parent reply	other threads:[~2004-07-06 22:15 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-07-06 21:16 Jake Moilanen
2004-07-06 21:39 ` Stephen Hemminger
     [not found] ` <20040706204314.GA16951@galt.devicelogics.com>
2004-07-06 22:15   ` Jake Moilanen [this message]

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=20040706171536.7052fca4.moilanen@austin.ibm.com \
    --to=moilanen@austin.ibm.com \
    --cc=akpm@osdl.org \
    --cc=jmerkey@galt.devicelogics.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=torvalds@osdl.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®