bc = tick_broadcast_device.evtdev;cpumask_clear_cpu(cpu, tick_get_broadcast_mask());if(tick_broadcast_device.mode == TICKDEV_MODE_PERIODIC) {if(bc && cpumask_empty(tick_get_broadcast_mask())) clockevents_shutdown(bc); } raw_spin_unlock_irqrestore(&tick_broadcast_lock, flags); } 开...
Source Code:include\linux\cpumask.hCreate Date:2022-07-27 06:38:53 Last Modify:2020-03-12 14:18:49Copyright©Brick 首页函数Tree 注解内核,赢得工具下载SCCTEnglish 函数名称:清空全部CPU信息 返回类型:void 参数: 类型参数名称 struct cpumask *dstp ...
[ Upstream commit f451014 ] If new_policy is set in cpufreq_online(), the policy object has just been created and its real_cpus mask has been zeroed on allocation, and the driver's ->init() callback should not touch it. It doesn't need to be cleared again, so don't do that. ...
staticintset_cpu_min_freq(constchar*buf,conststruct kernel_param *kp){inti, j, ntokens =0;unsignedintval, cpu;constchar*cp = buf;structcpu_status*i_cpu_stats;structcpufreq_policypolicy;cpumask_var_tlimit_mask;intret;while((cp =strpbrk(cp +1," :"))) ntokens++;if(!(ntokens %2))...