move rmap_init malloc outside of the critical/locked section
clean up cmap_probe