cvs commit: src/sys/vm uma.h uma_core.c uma_dbg.c uma_int.h

Jeff Roberson jeff at FreeBSD.org
Fri Sep 19 01:37:45 PDT 2003


jeff        2003/09/19 01:37:44 PDT

  FreeBSD src repository

  Modified files:
    sys/vm               uma.h uma_core.c uma_dbg.c uma_int.h 
  Log:
   - Fix the silly flag situation in UMA.  Remove redundant ZFLAG/ZONE flags
     by accepting the user supplied flags directly.  Previously this was not
     done so that flags for the same field would not be defined in two
     different files.  Add comments in each header instructing future
     developers on how now to shoot their feet.
   - Fix a test for !OFFPAGE which should have been a test for HASH.  This would
     have caused a panic if we had ever destructed a malloc zone.  This also
     opens up the possibility that other zones could use the vsetobj() method
     rather than a hash.
  
  Revision  Changes    Path
  1.16      +6 -1      src/sys/vm/uma.h
  1.78      +31 -40    src/sys/vm/uma_core.c
  1.12      +2 -2      src/sys/vm/uma_dbg.c
  1.19      +7 -11     src/sys/vm/uma_int.h


More information about the cvs-src mailing list