Marginally faster nand_ecc.c

Charles Manning manningc2 at
Fri Sep 22 17:58:42 EDT 2006


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 : 

More information about the linux-mtd mailing list