diff options
author | glebius <glebius@FreeBSD.org> | 2011-10-12 18:08:28 +0000 |
---|---|---|
committer | glebius <glebius@FreeBSD.org> | 2011-10-12 18:08:28 +0000 |
commit | 2522c42334ee2fd458372bfa8058df46b004a397 (patch) | |
tree | 99a8fc211be926327f1c06faf02f73a2a7263fa6 /sys/vm/uma.h | |
parent | eacdf4cafb62dda299c5691e9483cb910e9c8f6b (diff) | |
download | FreeBSD-src-2522c42334ee2fd458372bfa8058df46b004a397.zip FreeBSD-src-2522c42334ee2fd458372bfa8058df46b004a397.tar.gz |
Make memguard(9) capable to guard uma(9) allocations.
Diffstat (limited to 'sys/vm/uma.h')
-rw-r--r-- | sys/vm/uma.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/vm/uma.h b/sys/vm/uma.h index 241cabc..fbba22f 100644 --- a/sys/vm/uma.h +++ b/sys/vm/uma.h @@ -255,8 +255,8 @@ int uma_zsecond_add(uma_zone_t zone, uma_zone_t master); * physical parameters of the request and may not be provided by the consumer. */ #define UMA_ZONE_INHERIT \ - (UMA_ZONE_OFFPAGE | UMA_ZONE_MALLOC | UMA_ZONE_HASH | \ - UMA_ZONE_REFCNT | UMA_ZONE_VTOSLAB) + (UMA_ZONE_OFFPAGE | UMA_ZONE_MALLOC | UMA_ZONE_NOFREE | \ + UMA_ZONE_HASH | UMA_ZONE_REFCNT | UMA_ZONE_VTOSLAB) /* Definitions for align */ #define UMA_ALIGN_PTR (sizeof(void *) - 1) /* Alignment fit for ptr */ |