Re: [PATCH v7 2/2] cpufreq: Add boost_freq_req QoS request

From: Zhongqiu Han

Date: Thu Mar 26 2026 - 05:13:33 EST


On 3/26/2026 4:50 PM, Viresh Kumar wrote:
On 26-03-26, 16:18, Zhongqiu Han wrote:
Would it be reasonable to add a NULL check for policy->boost_freq_req in
policy_set_boost() before calling freq_qos_update_request(), even though
callers already check policy->boost_supported? Thanks

Not required. policy_set_boost() should only be called if boost is supported.


Got it, thanks — no NULL check needed since boost_supported is the
precondition.

--
Thx and BRs,
Zhongqiu Han