cvs commit: src/sys/kern kern_malloc.c

Scott Long scottl at freebsd.org
Tue Jun 10 22:24:34 PDT 2003


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



More information about the cvs-src mailing list