lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Wed, 06 Feb 2013 13:58:37 +0100 From: "Rafael J. Wysocki" <rjw@...k.pl> To: Viresh Kumar <viresh.kumar@...aro.org> Cc: Stratos Karafotis <stratosk@...aphore.gr>, cpufreq@...r.kernel.org, linux-pm@...r.kernel.org, linux-kernel@...r.kernel.org Subject: Re: [PATCH] cpufreq: ondemand: Replace down_differential tuner with adj_up_threshold On Wednesday, February 06, 2013 11:05:45 AM Viresh Kumar wrote: > On Wed, Feb 6, 2013 at 2:34 AM, Stratos Karafotis <stratosk@...aphore.gr> wrote: > > In order to avoid the calculation of up_threshold - down_differential > > every time that the frequency must be decreased, we replace the > > down_differential tuner with the adj_up_threshold which keeps the > > difference across multiple checks. > > > > Update the adj_up_threshold only when the up_theshold is also updated. > > > > Signed-off-by: Stratos Karafotis <stratosk@...aphore.gr> > > --- > > drivers/cpufreq/cpufreq_governor.h | 2 +- > > drivers/cpufreq/cpufreq_ondemand.c | 16 ++++++++++------ > > 2 files changed, 11 insertions(+), 7 deletions(-) > > Makes sense. > > Acked-by: Viresh Kumar <viresh.kumar@...aro.org> Thanks, applied to bleeding-edge. Rafael -- I speak only for myself. Rafael J. Wysocki, Intel Open Source Technology Center. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@...r.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists