diff options
author | kmacy <kmacy@FreeBSD.org> | 2012-01-27 20:18:31 +0000 |
---|---|---|
committer | kmacy <kmacy@FreeBSD.org> | 2012-01-27 20:18:31 +0000 |
commit | 84d434965a78b0d9e3e8d915e58cd0bc752d6a25 (patch) | |
tree | d03789c6012846a09fb648b5b7c191277d20df09 /sys/sys | |
parent | ee292f1f00c3658b64c10f59158dda32531a8afb (diff) | |
download | FreeBSD-src-84d434965a78b0d9e3e8d915e58cd0bc752d6a25.zip FreeBSD-src-84d434965a78b0d9e3e8d915e58cd0bc752d6a25.tar.gz |
exclude kmem_alloc'ed ARC data buffers from kernel minidumps on amd64
excluding other allocations including UMA now entails the addition of
a single flag to kmem_alloc or uma zone create
Reviewed by: alc, avg
MFC after: 2 weeks
Diffstat (limited to 'sys/sys')
-rw-r--r-- | sys/sys/malloc.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/sys/malloc.h b/sys/sys/malloc.h index 76e94be..a6450b3 100644 --- a/sys/sys/malloc.h +++ b/sys/sys/malloc.h @@ -50,6 +50,7 @@ #define M_ZERO 0x0100 /* bzero the allocation */ #define M_NOVM 0x0200 /* don't ask VM for pages */ #define M_USE_RESERVE 0x0400 /* can alloc out of reserve memory */ +#define M_NODUMP 0x0800 /* don't dump pages in this allocation */ #define M_MAGIC 877983977 /* time when first defined :-) */ |