Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 Jan 2010 14:52:45 +0000 (UTC)
From:      "Bjoern A. Zeeb" <bz@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/sys/opencrypto deflate.c deflate.h
Message-ID:  <201001041452.o04EqvFo085288@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
bz          2010-01-04 14:52:45 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_6)
    sys/opencrypto       deflate.c deflate.h 
  Log:
  SVN rev 201501 on 2010-01-04 14:52:45Z by bz
  
  MFC r199895:
  
    Change memory managment from a fixed size array to a list.
    This is needed to avoid running into out of buffer situations
    where we cannot alloc a new buffer because we hit the array size
    limit (ZBUF).
    Use a combined allocation for the struct and the actual data buffer
    to not increase the number of malloc calls. [1]
  
    Defer initialization of zbuf until we actually need it.
  
    Make sure the output buffer will be large enough in all cases.
  
    Details discussed with:     kib [1]
    Reviewed by:                kib [1]
  
  Revision  Changes    Path
  1.4.2.3   +67 -52    src/sys/opencrypto/deflate.c
  1.2.2.1   +7 -3      src/sys/opencrypto/deflate.h



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201001041452.o04EqvFo085288>