the second volume loop in sw_all does not need a barrier, at least as long as this function is not orphaned