Date: Sun, 15 Jul 2012 13:31:46 -0700 From: mdf@FreeBSD.org To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: Re: svn commit: r238502 - in head/sys: kern vm Message-ID: <CAMBSHm-ZXm5ceir=VNjwct_ZjSAhHHyKMPZpMim436ogQOaJEg@mail.gmail.com> In-Reply-To: <201207152029.q6FKTmfW071319@svn.freebsd.org> References: <201207152029.q6FKTmfW071319@svn.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Jul 15, 2012 at 1:29 PM, Matthew D Fleming <mdf@freebsd.org> wrote: > Author: mdf > Date: Sun Jul 15 20:29:48 2012 > New Revision: 238502 > URL: http://svn.freebsd.org/changeset/base/238502 > > Log: > Fix a bug with memguard(9) on 32-bit architectures without a > VM_KMEM_MAX_SIZE. > > The code was not taking into account the size of the kernel_map, which > the kmem_map is allocated from, so it could produce a sub-map size too > large to fit. The simplest solution is to ignore VM_KMEM_MAX entirely > and base the memguard map's size off the kernel_map's size, since this > is always relevant and always smaller. > > Found by: Justin Hibbits MFC after: 3 days Thanks, matthew
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAMBSHm-ZXm5ceir=VNjwct_ZjSAhHHyKMPZpMim436ogQOaJEg>