On Sun, Jul 15, 2012 at 1:29 PM, Matthew D Fleming <m...@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
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to