You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The loop in _rpmalloc_deallocate_defer_small_or_medium and _rpmalloc_span_extract_free_list_deferred is a spin-lock as far as I understand. Any thread that's de-scheduled there (before free_list_deferred is restored) will block all other threads executing those functions indefinitely.
The text was updated successfully, but these errors were encountered:
That is true, and I changed that in the upcoming rewrite which I plan to release soon, where it is (in the allocation/free paths) proper lock free with guaranteed thread progress.
The loop in
_rpmalloc_deallocate_defer_small_or_medium
and_rpmalloc_span_extract_free_list_deferred
is a spin-lock as far as I understand. Any thread that's de-scheduled there (before free_list_deferred is restored) will block all other threads executing those functions indefinitely.The text was updated successfully, but these errors were encountered: