svn commit: r212174 - head/sys/vm
Andriy Gapon
avg at freebsd.org
Wed Sep 8 07:35:23 UTC 2010
on 03/09/2010 13:40 Andriy Gapon said the following:
> Author: avg
> Date: Fri Sep 3 10:40:53 2010
> New Revision: 212174
> URL: http://svn.freebsd.org/changeset/base/212174
>
> Log:
> 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
Actually, not MFC is needed unless/until new way of allocating message buffer on
amd64 (via direct map) is MFC-ed. In particular, r208164.
--
Andriy Gapon
More information about the svn-src-head
mailing list