Migrate to new shared mlock