Re: [patch 1/3] cpufreq: implement min/max/up/down functions

2017-02-02 Thread Viresh Kumar
On 02-02-17, 15:47, Marcelo Tosatti wrote: > +++ kvm-pvfreq/drivers/cpufreq/cpufreq_userspace.c2017-02-02 > 15:32:53.456262640 -0200 > @@ -118,6 +118,178 @@ > mutex_unlock(&userspace_mutex); > } > > +static int cpufreq_is_userspace_governor(int cpu) > +{ > + int ret; > + > + m

[patch 1/3] cpufreq: implement min/max/up/down functions

2017-02-02 Thread Marcelo Tosatti
Implement functions in cpufreq userspace code to: * Change current frequency to {max,min,up,down} frequencies. up/down being relative to current one. These will be used to implement KVM hypercalls for the guest to issue frequency changes. Current situation with DPDK and frequency changes