Received: by 10.192.165.148 with SMTP id m20csp2495187imm; Thu, 26 Apr 2018 12:00:41 -0700 (PDT) X-Google-Smtp-Source: AB8JxZr1fvhSm1G7BrJFndmEatXOW2s3moqOBuiJJDwKwIB7RTczLuh6rnhPacsXhPkGUbW0HEJs X-Received: by 10.101.80.204 with SMTP id s12mr9185079pgp.313.1524769240981; Thu, 26 Apr 2018 12:00:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524769240; cv=none; d=google.com; s=arc-20160816; b=IShYjEEyR+6A17bvbByG2Gv02Zhvffk96WYQU0fa3RIdS6if/DXV3eHMbazFtPuuuY N8sEOE1cDCkdYSSZvCInAQPmJIYwxPFF5vuaMzF/BEOTmDpIRscmMB5zs2LVQJu1GaSi /XeJKiXF48ou8UPkCpUMv/BbKcaCeCMPix9/bcEXVt2+7ddFEn+o5c5A2+yo1U+RMJzg D+XntIPyoyfu4BjeU++qvGC4d5LarAQA6z2m2U9y5QDiVG07bbXax+vi1yyQZbUKRaAy kYHy968zFfLn3i4ZNn37i5xCeNBviUHTDLOPMKJUU4xEddwFoK6DJ/xRaQo7utuYJHOo zT0w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature:arc-authentication-results; bh=qfsqQysznMLyV5Hvdu5Eof+HKxX6pBSh/cNUwlRhqb0=; b=GO7EpBQaoNxVAr4TMP4LbbqFgWuWffqP3wmnFVvruQOUJ/z3D+lzdzHrxxOjkiBoQh ZoGI1WElwrDBLu8dM6GND/KWuCedDn5x2wgesz/jcSu5HJZ8J6BKFdIgVFUEJl3qwVI9 nS2FE0l/qI/oAl7bJmVnpUFiSvq2gYw9oKqzWslVeuTH5VjthfGoNvwOcido1hORNL6G DGld8kzjihxR5ocdoRBfme/PcfKj5qb8uwJDZRaITvjTT+AvvPcspE0qqXdHoNsihsdD Ho64X+XVWhY34V4l1ECKSDN2ZzmTOYsvIj1diPzlfcoZH4BJ/7tDb0Q9lYDTxOpBIXoy Najw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=Q9ptxzgo; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k28si12001078pgn.129.2018.04.26.12.00.26; Thu, 26 Apr 2018 12:00:40 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=Q9ptxzgo; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753733AbeDZS6v (ORCPT + 99 others); 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 Received: by mail-yw0-f179.google.com with SMTP id h6-v6so4470368ywj.9; Thu, 26 Apr 2018 11:58:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=qfsqQysznMLyV5Hvdu5Eof+HKxX6pBSh/cNUwlRhqb0=; b=Q9ptxzgoljgGw2NQu34QimYqQQKllXQ4+weCv/CorMU4V5qVA412TeEeQlMK7Y0YGM rS7r9jmQzFaSW7kiGNdGKjSf9B8WSpdW5NdqIrjS/g9X9Lb7fE7tpF67Jhvy1/aWOvlJ ARTPlTGoGCoPJGuOKOzga0usqhEGWnwUbtAWBo+IDesAGll6Y1VX/4ro8IAgZuFT0BNC oTMQEjvxvchbo5C7EnatM7WDBrFZz/Bty1OmOsU7fMAnFiSnn1scj8qXktqIDqQVPn94 LdY/k5N8VqRmtYaKubPDn/SfGl+bro00pRHSvBQ1EgReC8t8jGTj99SAMj75+xvyXJ+d nIXQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :references:mime-version:content-disposition:in-reply-to:user-agent; bh=qfsqQysznMLyV5Hvdu5Eof+HKxX6pBSh/cNUwlRhqb0=; b=nGw3GJC8X9NQizPs5l4QUjQAJ3yeF6kHqdTD9+iCq3aAR2ulkkyU8BpoEO2vuIqUUb peO0wLksckXDAXi1ew7TDUZBc/TDHuSkgexY4DI27+j4/WaUcubeI36mzBlq03bmCmqA PJcRf8VS87F041mp7gub/bH6wH8tceG+4o+Xt5ijTdz1nyCcVP1BYjbG5QTONhBzgkDz cAsVgepfoCcBVRoq2aHSx9TrF3rehB3gXHaJBp2IVPz0Jim1eBBPpCtw1eNWwW59riPD PJ5UL4kUGCnM3YnOPY7OLEaYVZbK1tEaiFC1KG73TftfyITD++hNa0aZxKzIqwzaJDiS +8oA== X-Gm-Message-State: ALQs6tB2anoX80/kQGp2rFSyzpzV04gfxWJmu9SXz1C6N6nKWZ+rDkw+ sJF8tEIggIEEHZM0MVpMGlU= X-Received: by 2002:a81:ee05:: with SMTP id l5-v6mr1551165ywm.306.1524769128271; Thu, 26 Apr 2018 11:58:48 -0700 (PDT) Received: from localhost ([2620:10d:c091:200::1:683e]) by smtp.gmail.com with ESMTPSA id r62-v6sm8656475ywh.30.2018.04.26.11.58.47 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 26 Apr 2018 11:58:47 -0700 (PDT) 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 Precedence: bulk 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