Re: [PATCH]cpuidle: preventive check in cpuidle_select against crash

From: Rafael J. Wysocki
Date: Tue Dec 26 2017 - 19:43:11 EST

On Tue, Dec 26, 2017 at 8:26 AM, gaurav jindal
<gauravjindal1104@xxxxxxxxx> wrote:
> When selecting the idle state using cpuidle_select, there is no
> check on cpuidle_curr_governor. In cpuidle_switch_governor,
> cpuidle_currr_governor can be set to NULL to specify "disabled".

How exactly?