From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753758AbeDZS6v (ORCPT ); Thu, 26 Apr 2018 14:58:51 -0400 Received: from mail-yw0-f179.google.com ([209.85.161.179]:42056 "EHLO mail-yw0-f179.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752000AbeDZS6t (ORCPT ); Thu, 26 Apr 2018 14:58:49 -0400 X-Google-Smtp-Source: AB8JxZqiSHdCgzVZMFniXlyGN1bd3TDM9fquWEYVUqBXLJzo/KfEh82mqxOVmFcOCukzkRuQjYoVbg== Date: Thu, 26 Apr 2018 11:58:45 -0700 From: Tejun Heo To: Joel Fernandes Cc: Patrick Bellasi , Linux Kernel Mailing List , Linux PM , Ingo Molnar , Peter Zijlstra , "Rafael J . Wysocki" , Viresh Kumar , Vincent Guittot , Paul Turner , Dietmar Eggemann , Morten Rasmussen , Juri Lelli , Joel Fernandes , Steve Muckle , Todd Kjos Subject: Re: [PATCH 4/7] sched/core: uclamp: add utilization clamping to the CPU controller Message-ID: <20180426185845.GO1911913@devbig577.frc2.facebook.com> References: <20180409165615.2326-1-patrick.bellasi@arm.com> <20180409165615.2326-5-patrick.bellasi@arm.com> <20180409222417.GK3126663@devbig577.frc2.facebook.com> <20180410171612.GJ14248@e110439-lin> <20180410200514.GA793541@devbig577.frc2.facebook.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello, Joel. On Sat, Apr 21, 2018 at 02:08:30PM -0700, Joel Fernandes wrote: > Actually no, its not about overloading them. What's Patrick is > defining here is a property/attribute. What that attribute is used for > (the algorithms that use it) are a different topic. Like, it can be > used by the frequency selection algorithms or the task placement > algorithm. There are multiple algorithms that can use the property. To > me, this part of the patch makes sense. Maybe it should really be > called "task_size" or something, since that's what it really is. I understand that the interface can encode certain intentions and then there can be different strategies to implement that, but the two things mentioned here seem fundamentally different to declare them to be two different implementations of the same intention. > > Yeah, I think we want to stick to that semantics. That's what memory > > controller does and it'd be really confusing to flip the directions on > > different controllers. > > What about the .high ? I think there was some confusion about how to > define that for subgroups. It could perhaps be such that the .high of > parent is the lower bound of the .high on child but then I'm not sure > if that fits well with the delegation policies... The basic rule is simple. A child can never obtain more than its ancestors. Thanks. -- tejun