hazptr: Avoid unnecessary access to domain tagged list
Summary: This diff avoids locking and traversing the domain's tagged list on shutdown of batches that never pushed objects to the list. This change required batches to keep track of pushing objects to the domain's tagged list. This in turn required reclamation of tagged objects to be invoked by the batch rather than using the free function hazptr_cleanup_batch_tag. In order to avoid batches keeping track of the associated domain (and adding an extra field), batches are used only with the default domain. Reviewed By: davidtgoldblatt Differential Revision: D17416380 fbshipit-source-id: e5a3cd1492c1f1daf499b44fa1cfb4bb822062f7
Showing
Please register or sign in to comment