Re: [PATCH] zlib: Optimize inffast when copying direct from output

2009-11-26 Thread Joakim Tjernlund
Benjamin Herrenschmidt wrote on 26/11/2009 09:46:58: > > On Thu, 2009-11-26 at 09:30 +0100, Joakim Tjernlund wrote: > > > I'm not sure its going to work to use get_unaligned() like that on all > > > archs .. it might be definitely something to discuss on some more > > > appropriate mailing list. >

Re: [PATCH] zlib: Optimize inffast when copying direct from output

2009-11-26 Thread Benjamin Herrenschmidt
On Thu, 2009-11-26 at 09:30 +0100, Joakim Tjernlund wrote: > > I'm not sure its going to work to use get_unaligned() like that on all > > archs .. it might be definitely something to discuss on some more > > appropriate mailing list. > > Oh, why not? Is that because I am using it wrongly or becaus

Re: [PATCH] zlib: Optimize inffast when copying direct from output

2009-11-26 Thread Joakim Tjernlund
Benjamin Herrenschmidt wrote on 24/11/2009 04:12:43: > > On Tue, 2009-11-10 at 10:00 +0100, Joakim Tjernlund wrote: > > 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_una

Re: [PATCH] zlib: Optimize inffast when copying direct from output

2009-11-23 Thread Benjamin Herrenschmidt
On Tue, 2009-11-10 at 10:00 +0100, Joakim Tjernlund wrote: > 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 on