Make spinlocks faster (take two)

This change is green on x86 and arm test fleet.
This commit is contained in:
Justine Tunney 2024-07-26 00:44:45 -07:00
parent 02e1cbcd00
commit 59692b0882
No known key found for this signature in database
GPG key ID: BE714B4575D6E328
14 changed files with 122 additions and 79 deletions

View file

@ -27,8 +27,8 @@ struct Map {
};
struct Maps {
atomic_int lock;
struct Tree *maps;
_Atomic(uint64_t) lock;
_Atomic(struct Map *) freed;
size_t count;
size_t pages;