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/vm/uma.h | |
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/vm/uma.h')
-rw-r--r-- | sys/vm/uma.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/vm/uma.h b/sys/vm/uma.h index fbba22f..e17e6ef 100644 --- a/sys/vm/uma.h +++ b/sys/vm/uma.h @@ -248,6 +248,10 @@ int uma_zsecond_add(uma_zone_t zone, uma_zone_t master); * backend pages and can fail early. */ #define UMA_ZONE_VTOSLAB 0x2000 /* Zone uses vtoslab for lookup. */ +#define UMA_ZONE_NODUMP 0x4000 /* + * Zone's pages will not be included in + * mini-dumps. + */ /* * These flags are shared between the keg and zone. In zones wishing to add |