Skip to content

Consider using restartable sequences #315

@rigtorp

Description

@rigtorp

Restartable sequences is a Linux feature that allows creating wait-free per CPU data structures. You can read more about it here https://lwn.net/Articles/662946/ and here https://www.efficios.com/blog/2019/02/08/linux-restartable-sequences/. You can read about how tcmalloc is using it here https://google.github.io/tcmalloc/design.html. It can be used to move to per CPU arenas instead of per thread arenas.

It might not be a high priority to implement, but I wanted to raise awareness of restartable sequences.

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