Skip to content

No hashing used in __contention? #5

@rdb

Description

@rdb

I am curious why you only grab the lowest 8 bits of the pointer without any hashing in __contention. The vast majority of pointers passed in will be aligned on an 8-byte or 16-byte boundary which surely means that you are only ever using 16 to 32 of the 256 available slots in the optimistic case?

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