]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
- Fix the silly flag situation in UMA. Remove redundant ZFLAG/ZONE flags
authorJeff Roberson <jeff@FreeBSD.org>
Fri, 19 Sep 2003 08:37:44 +0000 (08:37 +0000)
committerJeff Roberson <jeff@FreeBSD.org>
Fri, 19 Sep 2003 08:37:44 +0000 (08:37 +0000)
commitb60f5b794e09af3ee38d3e5419938282efa8805c
tree644475a574eabecce93510f93324e58118426825
parentd6c3e38bb23413122228fdbf4f1946ddad104830
 - 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.
sys/vm/uma.h
sys/vm/uma_core.c
sys/vm/uma_dbg.c
sys/vm/uma_int.h