Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 Aug 2004 13:59:02 +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:  <200408021359.i72Dx2CW020893@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
iedowse     2004-08-02 13:59:02 UTC

  FreeBSD src repository

  Modified files:
    sys/dev/usb          usb_mem.c 
  Log:
  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.6       +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?200408021359.i72Dx2CW020893>