Marginally faster nand_ecc.c

Charles Manning manningc2 at actrix.gen.nz
Fri Sep 22 17:58:42 EDT 2006


Folks

Herewith a patch that speeds up nand_ecc.c slightly. This should speed it up 
to be the same as yaffs_ecc.c which runs approx 15% faster than regular 
nand_ecc.c in the tests I have done.

All we're doing is moving the masking to outside the loop so we only take the 
hit once.

-- CHarles


-------------- next part --------------
A non-text attachment was scrubbed...
Name: nand_ecc_patch
Type: text/x-diff
Size: 469 bytes
Desc: not available
Url : http://lists.infradead.org/pipermail/linux-mtd/attachments/20060923/7340d325/attachment.bin 


More information about the linux-mtd mailing list