Skip to content

decomitting mpmcstack elements #51

Description

As noted by the comment in ds/mpmcstack.h pop(), it's unsafe to decommit memory used for stack nodes. Presumably this means that snmalloc can't discard large slab headers, even if it discards the rest of the heap? Are there other bits of memory that are pinned as a result? If there's quite a bit, should something like hazard pointers or urcu synchronization be deployed here?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions