u-boot/fs/jffs2
Ilya Yanok 142a80ffc3 jffs2: cache data_crc results
As we moved data_crc() invocation from jffs2_1pass_build_lists() to
jffs2_1pass_read_inode() data_crc is going to be calculated on each
inode access. This patch adds caching of data_crc() results. There
is no significant improvement in speed (because of flash access
caching added in previous patch I think, crc in RAM is really fast)
but this patch impacts memory usage -- every b_node structure uses
12 bytes instead of 8.

Signed-off-by: Alexey Neyman <avn@emcraft.com>
Signed-off-by: Ilya Yanok <yanok@emcraft.com>
2008-12-09 23:40:01 +01:00
..
compr_lzari.c fs: Move conditional compilation to Makefile 2008-08-31 04:24:56 +02:00
compr_lzo.c fs: Move conditional compilation to Makefile 2008-08-31 04:24:56 +02:00
compr_rtime.c fs: Move conditional compilation to Makefile 2008-08-31 04:24:56 +02:00
compr_rubin.c fs: Move conditional compilation to Makefile 2008-08-31 04:24:56 +02:00
compr_zlib.c fs: Move conditional compilation to Makefile 2008-08-31 04:24:56 +02:00
jffs2_1pass.c jffs2: cache data_crc results 2008-12-09 23:40:01 +01:00
jffs2_nand_1pass.c rename CFG_ macros to CONFIG_SYS 2008-10-18 21:54:03 +02:00
jffs2_nand_private.h Rewrite of NAND code based on what is in 2.6.12 Linux kernel 2005-08-17 12:55:25 +02:00
jffs2_private.h jffs2: cache data_crc results 2008-12-09 23:40:01 +01:00
Makefile fs: Move conditional compilation to Makefile 2008-08-31 04:24:56 +02:00
mini_inflate.c fs: Move conditional compilation to Makefile 2008-08-31 04:24:56 +02:00
summary.h jffs2: summary support 2008-12-09 23:39:59 +01:00