Skip to content
  • Konstantin Belousov's avatar
    Support for userspace non-transparent superpages (largepages). · d301b358
    Konstantin Belousov authored
    Created with shm_open2(SHM_LARGEPAGE) and then configured with
    FIOSSHMLPGCNF ioctl, largepages posix shared memory objects guarantee
    that all userspace mappings of it are served by superpage non-managed
    mappings.
    
    Only amd64 for now, both 2M and 1G superpages can be requested, the
    later requires CPU feature.
    
    Reviewed by:	markj
    Tested by:	pho
    Sponsored by:	The FreeBSD Foundation
    MFC after:	1 week
    Differential revision:	https://reviews.freebsd.org/D24652
    d301b358