[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [PATCH] xen/cpufreq: Reset policy after enabling/disabling turbo status
Jane Malalane writes ("[PATCH] xen/cpufreq: Reset policy after enabling/disabling turbo status"): > Before, user would change turbo status but this had no effect: boolean > was set but policy wasn't reevaluated. Policy must be reevaluated so > that CPU frequency is chosen according to the turbo status and the > current governor. > > Therefore, add __cpufreq_governor() in cpufreq_update_turbo(). ... > Not taking this patch means that turbo status is misleading. > > Taking this patch is low-risk as it only uses a function that already > exists and is already used for setting the chosen scaling governor. > Essentially, this change is equivalent to running 'xenpm > en/disable-turbo-mode' and, subsequently, running 'xenpm > set-scaling-governor <current governor>'. Thanks. I am positively inclined. But I have one query about this rationale. Adding a new call to an existing function is OK if calling __cpufreq_governor is permitted here. Are there locking or reentrancy hazards ? Perhaps these issue have been considered but I would like to see something explicit about that. Thanks, Ian.
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |