From mboxrd@z Thu Jan 1 00:00:00 1970 From: Patrick Bellasi Subject: Re: [PATCH v3 02/14] sched/core: uclamp: map TASK's clamp values into CPU's clamp groups Date: Tue, 14 Aug 2018 16:21:17 +0100 Message-ID: <20180814152117.GF2605@e110439-lin> References: <20180806163946.28380-1-patrick.bellasi@arm.com> <20180806163946.28380-3-patrick.bellasi@arm.com> <20180814112509.GB2661@codeaurora.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <20180814112509.GB2661@codeaurora.org> Sender: linux-kernel-owner@vger.kernel.org To: Pavan Kondeti Cc: linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org, Ingo Molnar , Peter Zijlstra , Tejun Heo , "Rafael J . Wysocki" , Viresh Kumar , Vincent Guittot , Paul Turner , Dietmar Eggemann , Morten Rasmussen , Juri Lelli , Todd Kjos , Joel Fernandes , Steve Muckle , Suren Baghdasaryan List-Id: linux-pm@vger.kernel.org Hi Pavan, On 14-Aug 16:55, Pavan Kondeti wrote: > On Mon, Aug 06, 2018 at 05:39:34PM +0100, Patrick Bellasi wrote: > I see that we drop reference on the previous clamp group when a task changes > its clamp limits. What about exiting tasks which claimed clamp groups? should > not we drop the reference? Yes, you right... when a task ends we are not currently releasing the reference to its (eventually defined) task-specific clamp value! Thanks for pointing this out... I'll fix this on the next posting! -- #include Patrick Bellasi