Skip to content

Create large pageindex regions memory-efficiently #212

Description

@stephenrkell

Large bigallocs create large runs of the same 2-byte value in the pageindex. When we fill multiple system pages with this repeating 2-byte value, we should able to use CoW techniques to avoid spending physical memory unnecessarily. I think I have some recipes that can do this, using splice() on Linux.

This might allow us to relax our practice of not indexing the pageindex itself within the pageindex (relevant to #16) -- or, more generally, of excluding very large mappings from the pageindex.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions