From: Josh Boyer <jdub@us.ibm.com>
To: Ed Co <edityacomm_knb@yahoo.com>
Cc: linux-mtd@lists.infradead.org
Subject: Re: Bottom halves being disabled
Date: Tue, 24 Aug 2004 07:28:20 -0500 [thread overview]
Message-ID: <1093350500.2991.23.camel@weaponx.rchland.ibm.com> (raw)
In-Reply-To: <20040824120929.1377.qmail@web52204.mail.yahoo.com>
On Tue, 2004-08-24 at 07:09, Ed Co wrote:
> Hi All,
>
> In the NOR driver code, the spin locks are acquired
> everywhere with bottom halves disabled using the
> spin_lock_bh() API. My doubt is why are the bottom
> halves disabled? (Doesn't that add to the real time
> latency on the system!)
What version of the code are you using, and which driver? I seem to
remember dwmw2 doing a s/spin_lock_bh/spin_lock a while ago since MTD
doesn't even use bottom halves.
Latest CVS shows only cfi_cmdset_0020.c, amd_flash.c, and sharp.c as
using spin_lock_bh(). Of those three, two are obsolete and the other is
in need of fixing.
josh
prev parent reply other threads:[~2004-08-24 12:28 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 ` Hi Latency in do_read_onechip (was Re: Bottom halves being disabled) Linh Dang
2004-08-24 12:28 ` Josh Boyer [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=1093350500.2991.23.camel@weaponx.rchland.ibm.com \
--to=jdub@us.ibm.com \
--cc=edityacomm_knb@yahoo.com \
--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