svn commit: r254466 - in head/sys/amd64: amd64 include

Slawa Olhovchenkov slw at zxy.spb.ru
Sun Aug 18 09:45:17 UTC 2013


On Sat, Aug 17, 2013 at 07:49:08PM +0000, Neel Natu wrote:

> Author: neel
> Date: Sat Aug 17 19:49:08 2013
> New Revision: 254466
> URL: http://svnweb.freebsd.org/changeset/base/254466
> 
> Log:
>   Bump up the maximum addressable memory on amd64 systems from 1TB to 4TB.
>   Bump up the KVA size proportionally from 512GB to 2TB.
>   
>   The number of page table pages used by the direct map is now calculated at
>   run time based on 'Maxmem'. This means the small memory systems will not
>   see any additional tax in terms of page table pages for the direct map.
>   
>   However all amd64 systems, regardless of the memory size, will use 3 more
>   pages to accomodate the bump in the KVA size.
>   
>   More details available here:
>   http://lists.freebsd.org/pipermail/freebsd-hackers/2013-June/043015.html
>   http://lists.freebsd.org/pipermail/freebsd-current/2013-July/043143.html
>   
>   Tested with the following configurations:
>   - Sandybridge server with 64GB of memory.
>   - bhyve VM with 64MB of memory.
>   - bhyve VM with a 8GB of memory with the memory segment above 4GB cuddling
>     right up against the 4TB maximum memory limit.
>   
>   Discussed on:	hackers@, current@
>   Submitted by:	Chris Torek (torek at torek.net)
> 
> Modified:
>   head/sys/amd64/amd64/pmap.c
>   head/sys/amd64/include/pmap.h
>   head/sys/amd64/include/vmparam.h

MFC planed?


More information about the svn-src-head mailing list