public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Re: [PATCH 0/3] Update LZO compression
@ 2012-10-15 19:19 Seth Jennings
  2012-10-15 23:45 ` Markus F.X.J. Oberhumer
  0 siblings, 1 reply; 10+ messages in thread
From: Seth Jennings @ 2012-10-15 19:19 UTC (permalink / raw)
  To: Markus F.X.J. Oberhumer
  Cc: Robert Jennings, Andrew Morton, LKML, Andi Kleen,
	Johannes Stezenbach, Richard Weinberger

> As requested by akpm I am sending my "lzo-update" branch at
> 
>   git://github.com/markus-oberhumer/linux.git lzo-update
> 
> to lkml as a patch series created by "git format-patch -M v3.5..lzo-update".
> 
> You can also browse the branch at
> 
>   https://github.com/markus-oberhumer/linux/compare/lzo-update
> 
> and review the three patches at
> 
>   https://github.com/markus-oberhumer/linux/commit/7c979cebc0f93dc692b734c12665a6824d219c20
>   https://github.com/markus-oberhumer/linux/commit/10f6781c8591fe5fe4c8c733131915e5ae057826
>   https://github.com/markus-oberhumer/linux/commit/5f702781f158cb59075cfa97e5c21f52275057f1

As this relates to my work on zcache, I just tested these patches on PPC64 and
they cause the LZO crypto module to fail its self-test:

[    0.521137] alg: comp: Compression test 1 failed for lzo-generic: output len = 62

I built the exact same kernel for x86_64 and all is fine.  I suspect an endianness
related bug, but I haven't looked at the code that closely yet.

Any ideas?  I'd be happy to test any potential fixes.

Seth


^ permalink raw reply	[flat|nested] 10+ messages in thread
* [PATCH 0/3] Update LZO compression
@ 2012-10-07 15:07 Markus F.X.J. Oberhumer
  2012-10-09 19:26 ` Andrew Morton
  0 siblings, 1 reply; 10+ messages in thread
From: Markus F.X.J. Oberhumer @ 2012-10-07 15:07 UTC (permalink / raw)
  To: linux-kernel
  Cc: Markus F.X.J. Oberhumer, Andi Kleen, Andrew Morton,
	Johannes Stezenbach, richard -rw- weinberger

As requested by akpm I am sending my "lzo-update" branch at

  git://github.com/markus-oberhumer/linux.git lzo-update

to lkml as a patch series created by "git format-patch -M v3.5..lzo-update".

You can also browse the branch at

  https://github.com/markus-oberhumer/linux/compare/lzo-update

and review the three patches at

  https://github.com/markus-oberhumer/linux/commit/7c979cebc0f93dc692b734c12665a6824d219c20
  https://github.com/markus-oberhumer/linux/commit/10f6781c8591fe5fe4c8c733131915e5ae057826
  https://github.com/markus-oberhumer/linux/commit/5f702781f158cb59075cfa97e5c21f52275057f1

Share and enjoy,
Markus


Markus F.X.J. Oberhumer (3):
  lib/lzo: Rename lzo1x_decompress.c to lzo1x_decompress_safe.c
  lib/lzo: Update LZO compression to current upstream version
  lib/lzo: Optimize code for CPUs with inefficient unaligned access

 include/linux/lzo.h             |   15 +-
 lib/lzo/Makefile                |    2 +-
 lib/lzo/lzo1x_compress.c        |  309 +++++++++++++++++++++------------------
 lib/lzo/lzo1x_decompress.c      |  255 --------------------------------
 lib/lzo/lzo1x_decompress_safe.c |  237 ++++++++++++++++++++++++++++++
 lib/lzo/lzodefs.h               |   34 ++++-
 6 files changed, 441 insertions(+), 411 deletions(-)
 delete mode 100644 lib/lzo/lzo1x_decompress.c
 create mode 100644 lib/lzo/lzo1x_decompress_safe.c


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2012-12-21  2:04 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-15 19:19 [PATCH 0/3] Update LZO compression Seth Jennings
2012-10-15 23:45 ` Markus F.X.J. Oberhumer
2012-10-16 16:50   ` Seth Jennings
  -- strict thread matches above, loose matches on Subject: below --
2012-10-07 15:07 Markus F.X.J. Oberhumer
2012-10-09 19:26 ` Andrew Morton
2012-10-09 19:54   ` Markus F.X.J. Oberhumer
2012-10-09 22:43     ` Stephen Rothwell
2012-10-11 11:41     ` Arnd Bergmann
2012-10-11 16:28       ` Markus F.X.J. Oberhumer
2012-12-21  2:03         ` Dan Magenheimer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox