summaryrefslogtreecommitdiffstats
path: root/usr.sbin/pmcstat
diff options
context:
space:
mode:
authoravg <avg@FreeBSD.org>2010-09-03 10:40:53 +0000
committeravg <avg@FreeBSD.org>2010-09-03 10:40:53 +0000
commit9cb74fce5a363515c8f4250b344250d6f4d3c688 (patch)
tree9026f195a41cb19abbf8fe9f2170b46969f76154 /usr.sbin/pmcstat
parente895a280b31039d77a9de1ccb205da9bb06431ce (diff)
downloadFreeBSD-src-9cb74fce5a363515c8f4250b344250d6f4d3c688.zip
FreeBSD-src-9cb74fce5a363515c8f4250b344250d6f4d3c688.tar.gz
vm_page.c: include opt_msgbuf.h for MSGBUF_SIZE use in vm_page_startup
vm_page_startup uses MSGBUF_SIZE value for adding msgbuf pages to minidump. If opt_msgbuf.h is not included and MSGBUF_SIZE is overriden in kernel config, then not all msgbuf pages will be dumped. And most importantly, struct msgbuf itself will not be included. Thus the dump would look corrupted/incomplete to tools like kgdb, dmesg, etc that try to access struct msgbuf as one of the first things they do when working on a crash dump. MFC after: 5 days
Diffstat (limited to 'usr.sbin/pmcstat')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud