From: David Woodhouse <dwmw2@infradead.org>
To: Wojciech Kromer <krom@dgt-lab.com.pl>
Cc: mtd <linux-mtd@lists.infradead.org>
Subject: Re: JFFS2 on 8MB Flash-Chip conneted to MPC850 works extremly slow:(
Date: Mon, 03 Sep 2001 13:26:32 +0100 [thread overview]
Message-ID: <3238.999519992@redhat.com> (raw)
In-Reply-To: <3B937537.D636406C@dgt-lab.com.pl>
krom@dgt-lab.com.pl said:
> OK, now I'm testing the ocelot's trick. But I do not understand it.
The idea is that read{8,16,32} and write{8,16,32} are used for commands and
reading status, and should be uncached. copy_from() is used for copying
data from the flash, and can be cached. We have to flush the cache any
time a command is sent, because it could be a write or erase command.
This means that we don't get a lot of benefit from storing data in the
cache for long periods of time (except maybe on read-only flashes), but at
least we can burst-read to fill a cache line, if the hardware can
do it.
Flushing the cache on every write cycle to the flash chip may be a little
excessive - perhaps the chip driver itself should have to explicitly flush
the cache when the data are actually likely to change - I'm not sure if
that'd be a win though.
--
dwmw2
next prev parent reply other threads:[~2001-09-03 12:20 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-08-28 11:59 JFFS2 on 8MB Flash-Chip conneted to MPC850 works extremly slow :( Wojciech Kromer
2001-08-28 15:53 ` Russ Dill
2001-08-29 6:07 ` Wojciech Kromer
2001-08-29 7:17 ` Russ Dill
2001-08-29 7:46 ` JFFS2 on 8MB Flash-Chip conneted to MPC850 works extremly slow:( Wojciech Kromer
2001-08-29 8:36 ` Russ Dill
2001-08-29 8:55 ` David Woodhouse
2001-08-29 9:17 ` Wojciech Kromer
2001-08-29 9:24 ` David Woodhouse
2001-08-29 10:15 ` Joakim Tjernlund
2001-08-29 10:19 ` David Woodhouse
2001-09-03 12:19 ` Wojciech Kromer
2001-09-03 12:26 ` David Woodhouse [this message]
[not found] ` <4189.999520431@redhat.com>
2001-09-03 12:42 ` Wojciech Kromer
2001-09-05 8:19 ` Wojciech Kromer
2001-09-05 8:29 ` David Woodhouse
-- strict thread matches above, loose matches on Subject: below --
2001-09-06 14:29 JFFS2 on 8MB Flash-Chip conneted to MPC850 works extremly slo w:( Jonas Holmberg
2001-09-07 7:33 ` JFFS2 on 8MB Flash-Chip conneted to MPC850 works extremly slow:( Wojciech Kromer
2001-09-07 8:10 ` David Woodhouse
2001-09-07 8:33 ` Wojciech Kromer
2001-09-07 13:26 ` Wojciech Kromer
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=3238.999519992@redhat.com \
--to=dwmw2@infradead.org \
--cc=krom@dgt-lab.com.pl \
--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