mirror of
https://github.com/torvalds/linux.git
synced 2024-11-08 05:01:48 +00:00
ac4c2a3bbe
JFFS2 uses lesser compression ratio and inflate always ends up in "copy direct from output" case. This patch tries to optimize the direct copy procedure. Uses get_unaligned() but only in one place. The copy loop just above this one can also use this optimization, but I havn't done so as I have not tested if it is a win there too. On my MPC8321 this is about 17% faster on my JFFS2 root FS than the original. [akpm@linux-foundation.org: coding-style fixes] Signed-off-by: Joakim Tjernlund <Joakim.Tjernlund@transmode.se> Cc: Roel Kluin <roel.kluin@gmail.com> Cc: Richard Purdie <rpurdie@rpsys.net> Cc: David Woodhouse <dwmw2@infradead.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> |
||
---|---|---|
.. | ||
inffast.c | ||
inffast.h | ||
inffixed.h | ||
inflate_syms.c | ||
inflate.c | ||
inflate.h | ||
inftrees.c | ||
inftrees.h | ||
infutil.c | ||
infutil.h | ||
Makefile |