Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Jan 2005 01:19:43 +0000 (UTC)
From:      Ian Dowse <iedowse@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/dev/usb usb_mem.c
Message-ID:  <200501110119.j0B1Jh64026220@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
iedowse     2005-01-11 01:19:43 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_4)
    sys/dev/usb          usb_mem.c 
  Log:
  MFC: 1.6; When searching for a suitable block of memory on the free
  list, skip blocks that are too big by a factor of two or greater.
  This avoids some cases of extremely inefficient memory use that can
  occur when large (e.g. 64k) blocks on the free list get used when
  allocating a 4k chunk of 64-byte fragments. Because fragments have
  their own free list, the 60k difference got lost forever every time.
  
  Revision  Changes    Path
  1.5.4.2   +2 -1      src/sys/dev/usb/usb_mem.c



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