1. 10 Sep, 2015 1 commit
  2. 07 Aug, 2014 1 commit
  3. 23 Mar, 2011 1 commit
    • Jim Keniston's avatar
      zlib: slim down zlib_deflate() workspace when possible · 565d76cb
      Jim Keniston authored
      Instead of always creating a huge (268K) deflate_workspace with the
      maximum compression parameters (windowBits=15, memLevel=8), allow the
      caller to obtain a smaller workspace by specifying smaller parameter
      values.
      
      For example, when capturing oops and panic reports to a medium with
      limited capacity, such as NVRAM, compression may be the only way to
      capture the whole report.  In this case, a small workspace (24K works
      fine) is a win, whether you allocate the workspace when you need it (i.e.,
      during an oops or panic) or at boot time.
      
      I've verified that this patch works with all accepted values of windowBits
      (positive and negative), memLevel, and compression level.
      Signed-off-by: 's avatarJim Keniston <jkenisto@us.ibm.com>
      Cc: Herbert Xu <herbert@gondor.apana.org.au>
      Cc: David Miller <davem@davemloft.net>
      Cc: Chris Mason <chris.mason@oracle.com>
      Signed-off-by: 's avatarAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: 's avatarLinus Torvalds <torvalds@linux-foundation.org>
      565d76cb
  4. 21 Sep, 2009 1 commit
  5. 03 Feb, 2008 1 commit
  6. 22 Jun, 2006 1 commit
    • Richard Purdie's avatar
      [PATCH] zlib_inflate: Upgrade library code to a recent version · 4f3865fb
      Richard Purdie authored
      Upgrade the zlib_inflate implementation in the kernel from a patched
      version 1.1.3/4 to a patched 1.2.3.
      
      The code in the kernel is about seven years old and I noticed that the
      external zlib library's inflate performance was significantly faster (~50%)
      than the code in the kernel on ARM (and faster again on x86_32).
      
      For comparison the newer deflate code is 20% slower on ARM and 50% slower
      on x86_32 but gives an approx 1% compression ratio improvement.  I don't
      consider this to be an improvement for kernel use so have no plans to
      change the zlib_deflate code.
      
      Various changes have been made to the zlib code in the kernel, the most
      significant being the extra functions/flush option used by ppp_deflate.
      This update reimplements the features PPP needs to ensure it continues to
      work.
      
      This code has been tested on ARM under both JFFS2 (with zlib compression
      enabled) and ppp_deflate and on x86_32.  JFFS2 sees an approx.  10% real
      world file read speed improvement.
      
      This patch also removes ZLIB_VERSION as it no longer has a correct value.
      We don't need version checks anyway as the kernel's module handling will
      take care of that for us.  This removal is also more in keeping with the
      zlib author's wishes (http://www.zlib.net/zlib_faq.html#faq24) and I've
      added something to the zlib.h header to note its a modified version.
      Signed-off-by: 's avatarRichard Purdie <rpurdie@rpsys.net>
      Acked-by: 's avatarJoern Engel <joern@wh.fh-wedel.de>
      Signed-off-by: 's avatarAndrew Morton <akpm@osdl.org>
      Signed-off-by: 's avatarLinus Torvalds <torvalds@osdl.org>
      4f3865fb
  7. 10 Jan, 2006 1 commit
    • Adrian Bunk's avatar
      [PATCH] lib/zlib*: cleanups · 87c2ce3b
      Adrian Bunk authored
      This patch contains the following possible cleanups:
      - #if 0 the following unused functions:
        - zlib_deflate/deflate.c: zlib_deflateSetDictionary
        - zlib_deflate/deflate.c: zlib_deflateParams
        - zlib_deflate/deflate.c: zlib_deflateCopy
        - zlib_inflate/infblock.c: zlib_inflate_set_dictionary
        - zlib_inflate/infblock.c: zlib_inflate_blocks_sync_point
        - zlib_inflate/inflate_sync.c: zlib_inflateSync
        - zlib_inflate/inflate_sync.c: zlib_inflateSyncPoint
      - remove the following unneeded EXPORT_SYMBOL's:
        - zlib_deflate/deflate_syms.c: zlib_deflateCopy
        - zlib_deflate/deflate_syms.c: zlib_deflateParams
        - zlib_inflate/inflate_syms.c: zlib_inflateSync
        - zlib_inflate/inflate_syms.c: zlib_inflateSyncPoint
      Signed-off-by: 's avatarAdrian Bunk <bunk@stusta.de>
      Cc: Matt Mackall <mpm@selenic.com>
      Signed-off-by: 's avatarAndrew Morton <akpm@osdl.org>
      Signed-off-by: 's avatarLinus Torvalds <torvalds@osdl.org>
      87c2ce3b
  8. 16 Apr, 2005 1 commit
    • Linus Torvalds's avatar
      Linux-2.6.12-rc2 · 1da177e4
      Linus Torvalds authored
      Initial git repository build. I'm not bothering with the full history,
      even though we have it. We can create a separate "historical" git
      archive of that later if we want to, and in the meantime it's about
      3.2GB when imported into git - space that would just make the early
      git days unnecessarily complicated, when we don't have a lot of good
      infrastructure for it.
      
      Let it rip!
      1da177e4