Skip to content

Smarter memory allocation mechanism in SPI #8

Description

@tylergu

Currently SPI finds free intervals between objects and tries to find a free interval for each CodeObject. A better memory allocation mechanism should be developed.

Ideally we should have a single pool of memory for all CodeObject, and memory allocation requests would look for a chunk of memory within a specific range. When this pool runs out of memory, we would mmap more memory from the free intervals based on the /proc/$pid/maps file.

Right now we are trying some simpler workarounds.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    future improvementIssues that have a work around right now, but can be better solved in the future

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions