Re: cvs commit: src/sys/kern kern_malloc.c

From: Scott Long <scottl_at_freebsd.org>
Date: Tue, 10 Jun 2003 23:24:09 -0600
Paul Saab wrote:
> ps          2003/06/10 22:18:59 PDT
> 
>   FreeBSD src repository
> 
>   Modified files:
>     sys/kern             kern_malloc.c 
>   Log:
>   Don't overflow when calculating vm_kmem_size.  This fixes kmem_map
>   too small panics on PAE machines which have odd > 4GB sizes (4.5 gig
>   would render a 20MB of KVA for kmem_map instead of 200MB).
>   
>   Submitted by:   John Cagle <john.cagle_at_hp.com>, jeff
>   Reviewed by:    jeff, peter, scottl, lots of USENIX folks
>   
>   Revision  Changes    Path
>   1.126     +4 -4      src/sys/kern/kern_malloc.c
> 

Please MFC this to RELENG_5_1.  It's a pretty fatal flaw for anyone
wanting to run PAE, and is low risk for the !PAE case.

Scott
Received on Tue Jun 10 2003 - 22:24:33 UTC