Print this page
patch cpu-pause-func-deglobalize

*** 186,196 **** * on all other CPUs (besides the current one). This locks out * other CPUs from making CPUPM state transitions. */ switch (new_policy) { case CPUPM_POLICY_DISABLED: ! pause_cpus(NULL); cpupm_policy = CPUPM_POLICY_DISABLED; start_cpus(); result = cmt_pad_disable(PGHW_POW_ACTIVE); --- 186,196 ---- * on all other CPUs (besides the current one). This locks out * other CPUs from making CPUPM state transitions. */ switch (new_policy) { case CPUPM_POLICY_DISABLED: ! pause_cpus(NULL, NULL); cpupm_policy = CPUPM_POLICY_DISABLED; start_cpus(); result = cmt_pad_disable(PGHW_POW_ACTIVE);
*** 226,236 **** if (gov_init == 0) { cpupm_governor_initialize(); gov_init = 1; } ! pause_cpus(NULL); cpupm_policy = CPUPM_POLICY_ELASTIC; start_cpus(); break; default: --- 226,236 ---- if (gov_init == 0) { cpupm_governor_initialize(); gov_init = 1; } ! pause_cpus(NULL, NULL); cpupm_policy = CPUPM_POLICY_ELASTIC; start_cpus(); break; default: