public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
From: "Linh Dang" <linhd@nortelnetworks.com>
To: David Woodhouse <dwmw2@infradead.org>
Cc: linux-mtd@lists.infradead.org
Subject: Hi Latency in do_read_onechip (was Re: Bottom halves being disabled)
Date: Thu, 09 Sep 2004 14:12:19 -0400	[thread overview]
Message-ID: <wn5brgfia64.fsf_-_@linhd-2.ca.nortel.com> (raw)
In-Reply-To: <1093431210.3777.1535.camel@imladris.demon.co.uk> (David Woodhouse's message of "Wed, 25 Aug 2004 11:53:30 +0100")


Hi David,

On our system, we have some slow AMD nor flash. The line

	map_copy_from(map, buf, adr, len);

in do_read_onechip (in cfi_cmdset_0002.c) is called while holding a
spin_lock (chip->mutex). This triggers 450usec non-preemptible periods
on our system.

1. Is there any plan to fix this?
2. Is it safe to replace the spin_lock with a semaphore?
3. while mtd has to lock softirq?

Thanx

-- 
Linh Dang

  parent reply	other threads:[~2004-09-09 18:12 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-08-24 12:09 Bottom halves being disabled Ed Co
2004-08-24 12:24 ` David Woodhouse
2004-08-25  2:36   ` Linh Dang
2004-08-25  9:38     ` David Woodhouse
2004-08-25 10:48       ` Linh Dang
2004-08-25 10:53         ` David Woodhouse
2004-08-25 12:46           ` Linh Dang
2004-09-09 18:12           ` Linh Dang [this message]
2004-08-24 12:28 ` Josh Boyer

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=wn5brgfia64.fsf_-_@linhd-2.ca.nortel.com \
    --to=linhd@nortelnetworks.com \
    --cc=dwmw2@infradead.org \
    --cc=linux-mtd@lists.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