Changing I2C speed within RTOS

Hello all, If I have an I2C task running at 100kHz within RTOs, and if I need to increase the I2C communication speed to 400kHz what are the changes i need to carry out with respect to RTOS.
I know that there are some changes i need to do with respect to I2C.
Are there any modifications needed to be done to RTOS files. Thanks.

Changing I2C speed within RTOS

Other than the usual considerations of ensuring that other tasks are not accessing the I2C, and that the I2C is not changed when it is active, I don’t really think this is a FreeRTOS relevant question.  FreeRTOS itself does not include an I2C driver. Regards.