From: "Jörn Engel" <joern@wohnheim.fh-wedel.de>
To: andrzej.mialkowski@inetia.pl
Cc: "linux-mtd@lists.infradead.org" <linux-mtd@lists.infradead.org>
Subject: Re: hardcoded maximum number of CFI chips - continued
Date: Tue, 22 Jul 2003 12:21:48 +0200 [thread overview]
Message-ID: <20030722102148.GD29430@wohnheim.fh-wedel.de> (raw)
In-Reply-To: <1058823245.3f1c5c4da93b0@imail.internetia.pl>
On Mon, 21 July 2003 23:34:05 +0200, andrzej.mialkowski@inetia.pl wrote:
>
> Yes, linked list is nice solution; I would also prefer it while writing a new
> module.
> Problem is that module exist and works pretty well. My priorities are time to
> solution and risk of bug avoidance. You must agree that this is big difference
> between changing number 8 to 10 and rewriting even only module initialization
> to linked lists.
> Compromise solution may be leave runtime structures as they are, and change
> chips table to be 'reallocated' for instance in 4-16 chip increments. This
> solution reduces to reasonable amount of copying and memory allocations (still
> not critical during initialization), supports 'unlimited' number of chips and
> may be implemented and tested in period of few hours. I can do this tomorrow.
In that case, why don't you just crank up the number from 8 to 16? It
is the simpler solution to your problem at hand.
Jörn
--
Correctness comes second.
Features come third.
Performance comes last.
Maintainability is needed for all of them.
next prev parent reply other threads:[~2003-07-22 10:22 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-07-21 13:04 hardcoded maximum number of CFI chips - continued andrzej.mialkowski
2003-07-21 16:04 ` Jörn Engel
2003-07-21 21:34 ` andrzej.mialkowski
2003-07-22 10:21 ` Jörn Engel [this message]
2003-07-24 16:28 ` andrzej.mialkowski
2003-08-01 16:55 ` Jörn Engel
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=20030722102148.GD29430@wohnheim.fh-wedel.de \
--to=joern@wohnheim.fh-wedel.de \
--cc=andrzej.mialkowski@inetia.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