Date: Fri, 19 Sep 2003 01:37:44 -0700 (PDT) From: Jeff Roberson <jeff@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/vm uma.h uma_core.c uma_dbg.c uma_int.h Message-ID: <200309190837.h8J8biN2072606@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200309190837.h8J8biN2072606>