Increasing KVM on amd64

Artem Belevich fbsdlist at src.cx
Thu Sep 11 05:24:50 UTC 2008


>  SVN rev 180308 on 2008-07-05 19:34:33Z by alc
>
>  Enable the creation of a kmem map larger than 4GB.
>  Submitted by: Tz-Huan Huang
>
>  Make several variables related to kmem map auto-sizing static.
>  Found by: CScout

I did apply  Tz-Huan Huang's patch that he pointed to shortly after
you've announced your patch. As far as I can tell it's identical to
SVN rev 180308 changes.

>  Second, there is no room for a kmem map greater than 4GB unless the overall
> KVM size is greater than 6GB.  Specifically, a >4GB kmem map isn't possible
> with 6GB KVM because the kmem map would overlap the kernel's code, data, and
> bss segment.
>
>  If you're able to apply the above kern_malloc.c change to your kernel, then
> I should be able to describe how to increase your KVM beyond 6GB.

I'd be glad to give it a try.

-- 
--Artem


More information about the freebsd-hackers mailing list