• Kirill Smelkov's avatar
    bigfile: RAM subsystem · 8c935a5f
    Kirill Smelkov authored
    This thing allows to get aliasable RAM from OS kernel and to manage it.
    Currently we get memory from a tmpfs mount, and hugetlbfs should also
    work, but is TODO because hugetlbfs in the kernel needs to be improved.
    
    We need aliasing because we'll need to be able to memory map the same
    page into several places in address space, e.g. for taking two slices
    overlapping slice of the same array at different times.
    
    Comes with test programs that show we aliasing does not work for
    anonymous memory.
    8c935a5f
test_ram.c 4.16 KB