Cross-socket synchronisation of ring allocations

This completes the ring creation and selection feature.