A control strategy for cylinder deactivation