CPU: kernel based thermal management