public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
From: Alice Hennessy <ahennessy@mvista.com>
To: David Woodhouse <dwmw2@infradead.org>
Cc: mtd@infradead.org, ahennessy@mvista.com
Subject: Re: Flash chip locking
Date: Thu, 12 Oct 2000 17:16:50 -0700	[thread overview]
Message-ID: <39E65472.8A7A2E96@mvista.com> (raw)
In-Reply-To: 16397.962188563@cygnus.co.uk

David Woodhouse wrote:

> Unfortunately, we have to consider the fact that this lock will also be
> obtained from a Bottom Half context, when the "has the erase finished yet?"
> timer runs. Therefore, all occurrences of spin_lock in the main code have
> to be spin_lock_bh()¹ instead of the nurmal (and almost free) spin_lock().
>
>

Was the  "has the erase finished yet?" timer the only reason for using
spin_lock_bh instead of spin_lock?   Since the timer isn't implemented yet,
spin_lock can be used at the moment, correct?   I'm experimenting with the
driver in an environment that can  only tolerate disabling the bottom half for
very brief periods.

Alice



To unsubscribe, send "unsubscribe mtd" to majordomo@infradead.org

  parent reply	other threads:[~2000-10-13  0:12 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-06-28 10:36 Flash chip locking David Woodhouse
2000-06-28 20:05 ` Philipp Rumpf
2000-06-29  2:11 ` Brendan Simon
2000-06-28 11:16   ` Kira Brown
2000-06-28 11:24   ` David Woodhouse
2000-06-29 13:49     ` Brendan Simon
2000-06-28 15:12   ` Richard Gooch
2000-10-13  0:16 ` Alice Hennessy [this message]
2000-10-13  0:14   ` David Woodhouse
2000-11-04 19:26   ` David Woodhouse

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=39E65472.8A7A2E96@mvista.com \
    --to=ahennessy@mvista.com \
    --cc=dwmw2@infradead.org \
    --cc=mtd@infradead.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