Skip to content
  • Andrew Turner's avatar
    Add support for 4 level pagetables. The userland address space has been · f2f21faf
    Andrew Turner authored
    increased to 256TiB. The kernel address space can also be increased to be
    the same size, but this will be performed in a later change.
    
    To help work with an extra level of page tables two new functions have
    been added, one to file the lowest level table entry, and one to find the
    block/page level. Both of these find the entry for a given pmap and virtual
    address.
    
    This has been tested with a combination of buildworld, stress2 tests, and
    by using sort to consume a large amount of memory by sorting /dev/zero. No
    new issues are known to be present from this change.
    
    Reviewed by:	kib
    Obtained from:	ABT Systems Ltd
    Relnotes:	yes
    Sponsored by:	The FreeBSD Foundation
    Differential Revision:	https://reviews.freebsd.org/D5720
    f2f21faf