Matthew D Fleming f806cdcf99 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
2012-07-15 20:29:48 +00:00
..
2012-05-31 19:32:37 +00:00
2012-05-31 19:34:53 +00:00
2012-05-24 11:24:44 +00:00
2011-12-05 10:34:52 +00:00
2012-07-09 05:39:31 +00:00
2011-04-13 11:28:46 +00:00
2012-01-02 12:12:10 +00:00
2012-03-28 20:58:30 +00:00
2012-03-28 20:58:30 +00:00
2010-11-25 20:05:11 +00:00
2012-03-28 20:58:30 +00:00
2012-05-27 05:24:53 +00:00
2012-03-28 20:58:30 +00:00
2012-03-28 20:58:30 +00:00
2011-07-10 00:53:04 +00:00
2012-06-25 05:41:16 +00:00
2012-01-02 12:12:10 +00:00
2012-02-01 14:34:52 +00:00
2012-01-26 16:35:09 +00:00
2012-06-11 18:47:26 +00:00
2012-06-10 20:24:01 +00:00
2012-05-25 21:52:57 +00:00
2012-05-25 21:52:57 +00:00
2012-01-02 12:12:10 +00:00
2012-07-03 19:08:02 +00:00