Date: Fri, 3 Sep 2010 10:40:53 +0000 (UTC) From: Andriy Gapon <avg@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/vm vm_page.c Message-ID: <201009031041.o83Af5Cr063253@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
avg 2010-09-03 10:40:53 UTC
FreeBSD src repository
Modified files:
sys/vm vm_page.c
Log:
SVN rev 212174 on 2010-09-03 10:40:53Z by avg
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
Revision Changes Path
1.420 +1 -0 src/sys/vm/vm_page.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201009031041.o83Af5Cr063253>
