public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
From: David Woodhouse <dwmw2@infradead.org>
To: Robert Kaiser <rob@sysgo.de>
Cc: linux-mtd@lists.infradead.org
Subject: Re: Re-entrancy of flash erase/write
Date: Fri, 22 Feb 2002 17:06:52 +0000	[thread overview]
Message-ID: <23802.1014397612@redhat.com> (raw)
In-Reply-To: <Pine.LNX.4.21.0202221726010.8843-100000@dagobert.svc.sysgo.de>

rob@sysgo.de said:
>  Am I right in assuming that it is not possible to erase and/or write
> different blocks of the same flash chip concurrently ?

No - on some chips you can. Not most though.

> If so, where is the lock in the MTD code that would prevent concurrent
> execution of erase/write on the same chip by multiple processes ? 

In the chip drivers themselves. Grep for TASK_UNINTERRUPTIBLE in 
cfi_cmdset_0001.c, for example.


--
dwmw2

  reply	other threads:[~2002-02-22 16:55 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-02-22 16:30 Re-entrancy of flash erase/write Robert Kaiser
2002-02-22 17:06 ` David Woodhouse [this message]
2002-02-22 17:43   ` Robert Kaiser
2002-02-25 11:09     ` Robert Kaiser
2002-02-25 15:44       ` Adam Wozniak
2002-02-25 16:54         ` Robert Kaiser
2002-02-25 16:55           ` Adam Wozniak
2002-02-25 17:07           ` David Woodhouse
2002-02-25 17:30             ` Robert Kaiser
2002-02-25 17:32               ` David Woodhouse
2002-02-25 17:49             ` Joakim Tjernlund
2002-02-25 17:54               ` David Woodhouse
2002-02-25 18:08                 ` Joakim Tjernlund
2002-02-25 18:10                   ` David Woodhouse
2002-02-25 17:56               ` Robert Kaiser
2002-02-25 18:11                 ` Joakim Tjernlund
  -- strict thread matches above, loose matches on Subject: below --
2002-02-22 17:13 Jonas Holmberg

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=23802.1014397612@redhat.com \
    --to=dwmw2@infradead.org \
    --cc=linux-mtd@lists.infradead.org \
    --cc=rob@sysgo.de \
    /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