PhD Seminar • Systems and Networking | Programming Languages • Hardware-Software Codesign Approach to Reclaiming Memory in Concurrent Data Structures

Friday, September 20, 2024 1:00 pm - 2:00 pm EDT (GMT -04:00)

Please note: This PhD seminar will take place in DC 1304.

Ajay Singh, PhD candidate
David R. Cheriton School of Computer Science

Supervisors: Professors Trevor Brown, Peter Buhr

Concurrent reclamation algorithms address use-after-free races in concurrent data structures. However, these algorithms are often designed based on simplified theoretical models and fail to consider the broader system context in which they operate. For example, they overlook how memory locations are managed or synchronized at lower system layers, such as memory allocators and the cache subsystem. This isolated approach misses opportunities to leverage events occurring at these lower layers, which could solve the same problem more efficiently.

In this talk, we will present a hardware-software co-design approach to address concurrent memory reclamation in data structures. We observe that the synchronization needed for concurrent memory reclamation already occurs at the cache level through coherence protocol messages. Therefore, instead of duplicating this mechanism at the application level, we can harness these cache-level messages and expose them to programmers, offering a more efficient solution.