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/vm_page.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/vm_page.h')
-rw-r--r-- | sys/vm/vm_page.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/vm/vm_page.h b/sys/vm/vm_page.h index 85df6fb..ca02de0 100644 --- a/sys/vm/vm_page.h +++ b/sys/vm/vm_page.h @@ -263,6 +263,7 @@ extern struct vpglocks pa_lock[]; #define PG_MARKER 0x10 /* special queue marker page */ #define PG_SLAB 0x20 /* object pointer is actually a slab */ #define PG_WINATCFLS 0x40 /* flush dirty page on inactive q */ +#define PG_NODUMP 0x80 /* don't include this page in the dump */ /* * Misc constants. @@ -350,6 +351,7 @@ extern struct vpglocks vm_page_queue_lock; #define VM_ALLOC_IFCACHED 0x0400 /* Fail if the page is not cached */ #define VM_ALLOC_IFNOTCACHED 0x0800 /* Fail if the page is cached */ #define VM_ALLOC_IGN_SBUSY 0x1000 /* vm_page_grab() only */ +#define VM_ALLOC_NODUMP 0x2000 /* don't include in dump */ #define VM_ALLOC_COUNT_SHIFT 16 #define VM_ALLOC_COUNT(count) ((count) << VM_ALLOC_COUNT_SHIFT) |