Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Jul 2010 15:36:12 +0000 (UTC)
From:      Matthew D Fleming <mdf@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/sys/amd64/conf GENERIC src/sys/conf NOTES options src/sys/i386/conf GENERIC src/sys/ia64/conf GENERIC src/sys/kern kern_malloc.c src/sys/pc98/conf GENERIC src/sys/powerpc/conf GENERIC src/sys/sparc64/conf GENERIC src/sys/sun4v/conf GENERIC ...
Message-ID:  <201007281537.o6SFbbsd072875@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
mdf         2010-07-28 15:36:12 UTC

  FreeBSD src repository

  Modified files:
    sys/amd64/conf       GENERIC 
    sys/conf             NOTES options 
    sys/i386/conf        GENERIC 
    sys/ia64/conf        GENERIC 
    sys/kern             kern_malloc.c 
    sys/pc98/conf        GENERIC 
    sys/powerpc/conf     GENERIC 
    sys/sparc64/conf     GENERIC 
    sys/sun4v/conf       GENERIC 
    sys/sys              malloc.h 
  Log:
  SVN rev 210564 on 2010-07-28 15:36:12Z by mdf
  
  Add MALLOC_DEBUG_MAXZONES debug malloc(9) option to use multiple uma
  zones for each malloc bucket size.  The purpose is to isolate
  different malloc types into hash classes, so that any buffer overruns
  or use-after-free will usually only affect memory from malloc types in
  that hash class.  This is purely a debugging tool; by varying the hash
  function and tracking which hash class was corrupted, the intersection
  of the hash classes from each instance will point to a single malloc
  type that is being misused.  At this point inspection or memguard(9)
  can be used to catch the offending code.
  
  Add MALLOC_DEBUG_MAXZONES=8 to -current GENERIC configuration files.
  The suggestion to have this on by default came from Kostik Belousov on
  -arch.
  
  This code is based on work by Ron Steinke at Isilon Systems.
  
  Reviewed by:    -arch (mostly silence)
  Reviewed by:    zml
  Approved by:    zml (mentor)
  
  Revision  Changes    Path
  1.546     +1 -0      src/sys/amd64/conf/GENERIC
  1.1588    +14 -0     src/sys/conf/NOTES
  1.706     +1 -0      src/sys/conf/options
  1.533     +1 -0      src/sys/i386/conf/GENERIC
  1.116     +1 -0      src/sys/ia64/conf/GENERIC
  1.174     +124 -24   src/sys/kern/kern_malloc.c
  1.333     +1 -0      src/sys/pc98/conf/GENERIC
  1.106     +1 -0      src/sys/powerpc/conf/GENERIC
  1.170     +1 -0      src/sys/sparc64/conf/GENERIC
  1.38      +1 -0      src/sys/sun4v/conf/GENERIC
  1.90      +1 -0      src/sys/sys/malloc.h



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