Re: [PATCH 1/3] cpufreq: schedutil: enable fast switch earlier

From: Viresh Kumar
Date: Mon Nov 14 2016 - 06:37:08 EST


On 14-11-16, 09:36, Viresh Kumar wrote:
> On 13-11-16, 15:46, Rafael J. Wysocki wrote:
> > That's only going to happen in the next patch, though, right? It
> > wouldn't hurt to write that in the changelog too.
>
> Sure.
>
> > Besides, I'm not actually sure if starting/stopping the kthread in
> > sugov_policy_alloc/free() is a good idea. It sort of conflates the
> > allocation of memory with kthread creation. Any chance to untangle
> > that?
>
> Hmm, so either I can create two new routines for the thread and call
> them along with alloc/free. Or I can rename the alloc/free routines
> and keep this patch as is.

I have created separate routines in my new version (which I will send
tomorrow).

--
viresh