[Yaffs-archive] Re:[YAFFS] Latest CVS ==> Interaction with mtd

Thomas Gleixner tglx@linutronix.de
Sat, 23 Nov 2002 16:50:41 +0100


On Saturday 23 November 2002 12:54, Jeffrey Lim wrote:
> Hi, regarding the optimizations you wrote, how about if we optimize them
> further? (or at least, to me, it looks like an optimization). I am by no
> means a flash expert, or an mtd one at that, so pardon me if i do
> something wrong. Correct me and i will listen. :)
> Have a look at my humble optimizations, if you dont mind.. (basically an
> "if"-statement optimization that shouldnt touch the logic that you coded
> in)
The modification to yaffs was just a quick hack to verify, that it works with 
mtd->read(write)_ecc too. As an unexspected result I noticed, that the code 
was faster then. On the other hand I'm not a gcc-guru, but I'm not sure, if 
your code is really faster. :) Therefore you have to compare gcc assembly 
output and the behaviour on your target machine..

-- 
Thomas
____________________________________________________
linutronix - competence in embedded & realtime linux
http://www.linutronix.de
mail: tglx@linutronix.de


---------------------------------------------------------------------------------------
This mailing list is hosted by Toby Churchill open software (www.toby-churchill.org).
If mailing list membership is no longer wanted you can remove yourself from the list by 
sending an email to yaffs-request@toby-churchill.org with the text "unsubscribe" 
(without the quotes) as the subject.