svn commit: r278994 - in projects/building-blocks: share/man/man9 sys/vm
Garrett Cooper
ngie at FreeBSD.org
Thu Feb 19 11:44:52 UTC 2015
Author: ngie
Date: Thu Feb 19 11:44:50 2015
New Revision: 278994
URL: https://svnweb.freebsd.org/changeset/base/278994
Log:
Revert an accidental commit I had staged up
Modified:
projects/building-blocks/share/man/man9/memguard.9
projects/building-blocks/sys/vm/memguard.c
Modified: projects/building-blocks/share/man/man9/memguard.9
==============================================================================
--- projects/building-blocks/share/man/man9/memguard.9 Thu Feb 19 11:41:12 2015 (r278993)
+++ projects/building-blocks/share/man/man9/memguard.9 Thu Feb 19 11:44:50 2015 (r278994)
@@ -176,8 +176,6 @@ doesn't guard those
.Xr uma 9
zones that have been initialized with the
.Dv UMA_ZONE_NOFREE
-or
-.Dv UMA_ZONE_REFCNT
flag set, since it can produce false positives on them.
However, this safety measure can be turned off by setting bit 3
of the
Modified: projects/building-blocks/sys/vm/memguard.c
==============================================================================
--- projects/building-blocks/sys/vm/memguard.c Thu Feb 19 11:41:12 2015 (r278993)
+++ projects/building-blocks/sys/vm/memguard.c Thu Feb 19 11:44:50 2015 (r278994)
@@ -504,9 +504,6 @@ memguard_cmp_zone(uma_zone_t zone)
zone->uz_flags & UMA_ZONE_NOFREE)
return (0);
- if (zone->uz_flags & UMA_ZONE_REFCNT)
- return (0);
-
if (memguard_cmp(zone->uz_size))
return (1);
More information about the svn-src-projects
mailing list