From: andrzej.mialkowski@inetia.pl
To: "Jörn Engel" <joern@wohnheim.fh-wedel.de>
Cc: "linux-mtd@lists.infradead.org" <linux-mtd@lists.infradead.org>
Subject: Re: hardcoded maximum number of CFI chips - continued
Date: Mon, 21 Jul 2003 23:34:05 +0200 [thread overview]
Message-ID: <1058823245.3f1c5c4da93b0@imail.internetia.pl> (raw)
In-Reply-To: <20030721160453.GA3677@wohnheim.fh-wedel.de>
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.
Andrzej
next prev parent reply other threads:[~2003-07-21 21:42 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 [this message]
2003-07-22 10:21 ` Jörn Engel
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=1058823245.3f1c5c4da93b0@imail.internetia.pl \
--to=andrzej.mialkowski@inetia.pl \
--cc=joern@wohnheim.fh-wedel.de \
--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