Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Oct 1997 07:06:38 -0700 (PDT)
From:      Poul-Henning Kamp <phk@FreeBSD.ORG>
To:        cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sys@FreeBSD.ORG
Subject:   cvs commit: src/sys/sys malloc.h mbuf.h src/sys/kern kern_malloc.c
Message-ID:  <199710101406.HAA25582@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
phk         1997/10/10 07:06:38 PDT

  Modified files:
    sys/sys              malloc.h mbuf.h 
    sys/kern             kern_malloc.c 
  Log:
  Make malloc more extensible.  The malloc type is now a pointer to
  the struct kmemstats that describes the type.
  
  This allows subsystems to declare their malloc types locally
  and <sys/malloc.h> doesn't need tweaked everytime somebody
  gets an idea.  You can even have a type local to a lkm...
  
  I don't know if we really need the longdesc, comments welcome.
  
  TODO: There is a single nit in ext2fs, that will be fixed later,
  and I intend to remove all unused malloc types and distribute
  the rest closer to their use.
  
  Revision  Changes    Path
  1.26      +104 -189  src/sys/sys/malloc.h
  1.23      +3 -3      src/sys/sys/mbuf.h
  1.31      +41 -59    src/sys/kern/kern_malloc.c



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