Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp123107imj; Thu, 14 Feb 2019 16:48:15 -0800 (PST) X-Google-Smtp-Source: AHgI3IYPijt8+nHCLvHF2AKh52TeJUFizBIPFP2klecFEyd+3A+/ldd+kcFKLuDOZZNGzmrYLOMX X-Received: by 2002:a63:43c1:: with SMTP id q184mr1820461pga.110.1550191695366; Thu, 14 Feb 2019 16:48:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550191695; cv=none; d=google.com; s=arc-20160816; b=wpnPFU/ggUmRMBssGd5v+bV5sVmt8UPKANm10a+n2zD0mnSAWDFFRfQbAYwtP2shSF iMC/fspECSRC0wDD9DVhiysRcCbuQsb3E/Y/GS4RKhrINTWjFFhyBRjGa3n53ZvsQETR C3EjZBF3Xt6NmMw+EO3iMTTj3tPYNa0KtisbWywNyDLCJ/verqHvW9LLqInKjFWgkNhD M0zSO3mcBz4CCq+XLfZEiP+qErUhVdgKmyoCTqinI1MckAm0kZaJRea5Iji4H1dZ+34D nzGiOzLT5chXE7VCaMRZGF8sun2ibZK3iPh+eh5Zar5inSHNj8pzrsymBsvVx3EZC2O7 8AxA== 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; bh=8QGFW0YZBSKtsGjUIJgc2fpvIMga7Q3ct+VW65QSOO8=; b=hb7yxITPxaykz0TV6MvOkruO0uS8OU/Mk5VkS0jQXLhwa4ZVT6nuvQ1B0XzN7RzDy+ rQDroNQcvn73QXuWwqm3/A0tcbHacw+/3JCLOVRXNRu0QSJRmcXSzvgkt8mnTi4r3u2z qoKYv/G3WTB0wpUJ63SaoQsGV00NOLJxejcUbCn3fbWx4eIyPWhHAB7v3LPupT7dLURT 1EbB+rs4/jPBHzvesmyQMsCipdWDwkLhvmiTD+eHFGX/qzsxm9qR5dijzO18VNykmgIK t6U5D1bjTimOKvbmEw3u5sOiOwho6zZ4ejSFAHYUfAJDZVbLEQq4WIh3n5P9P24+uLWJ +mfg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=Q3AJ4GSS; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s8si3961276plq.345.2019.02.14.16.48.00; Thu, 14 Feb 2019 16:48:15 -0800 (PST) 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=Q3AJ4GSS; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2392441AbfBNPsX (ORCPT + 99 others); Thu, 14 Feb 2019 10:48:23 -0500 Received: from mail-yb1-f194.google.com ([209.85.219.194]:41992 "EHLO mail-yb1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387511AbfBNPsW (ORCPT ); Thu, 14 Feb 2019 10:48:22 -0500 Received: by mail-yb1-f194.google.com with SMTP id j189so2546869ybj.9; Thu, 14 Feb 2019 07:48:22 -0800 (PST) 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=8QGFW0YZBSKtsGjUIJgc2fpvIMga7Q3ct+VW65QSOO8=; b=Q3AJ4GSSMc5s1BT5IQWpwcN4EXRpP3/LUlDZDPs0rrsZdqYzSmUI1eXWIurd9MuyEV p7uRas7TTsXpBWI6G9OHj9OxDo5KQ84Om1vl1sRh+tkHcEc7hF34RoT/3FXq8NKjjOpB mCPExHBGLL1HSWW7/wW/1AtkII7ApdNQhko+UUQl2RUc+zrL0CPTsfaxOp+a1TrQ8tnj ysbq8kWRXawIc9zeag2hbZMqXutSkujw0fPP5aL1BASA6pdHGe6tY8q5D+O9i6G9kwXD F4YWBj7rbe31nTp7modhpcQSal40pWwa0G6QQ45oPTYMdsK26Uq4tccXhHmYjkkrXjRv Lo/Q== 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=8QGFW0YZBSKtsGjUIJgc2fpvIMga7Q3ct+VW65QSOO8=; b=aLmcDyM4fdocOnTqK8QwR3Hc5ysFS6w5yjyRTA0CWLF+Xt4AW3ij8ipgKRT9Q3qpLu Bg+UU456kkrYhnCt6w5ifSOQs1025hI9xgTVC9d+It9lo3sfIZ83ep1GIQspi2wXbnqV aKGiNbUHiiGNdfDoNx4TM7HijjQof+qa2Wp6ps0GZ3EcMiXSlqM0+fIOD4GVmrg92SfE Wgtpz6/hseI9ILRDS5BSShztSFktZhu0xHpG5HG1J6tuzTq7dHpC5hjw9XFBzXDNeNSA +hJzD0HrpN5pkWQrrTrwSq0F7lTzm1OKXlkvm8p5UJMuU15/xFSEgC5tBsNqWiBA3ego SA0g== X-Gm-Message-State: AHQUAuYIkgt5kIcEsgk9HVMyBgXr/Yr0D1/zLLgm+spDYBlav/gwBuoJ eTaGDJiBVsoTJtFCGemaadS9ya1S X-Received: by 2002:a25:cad1:: with SMTP id a200mr3733920ybg.223.1550159301420; Thu, 14 Feb 2019 07:48:21 -0800 (PST) Received: from localhost ([2620:10d:c091:200::6:94e8]) by smtp.gmail.com with ESMTPSA id 207sm981167ywd.45.2019.02.14.07.48.20 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 14 Feb 2019 07:48:20 -0800 (PST) Date: Thu, 14 Feb 2019 07:48:17 -0800 From: Tejun Heo To: Patrick Bellasi Cc: linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org, linux-api@vger.kernel.org, Ingo Molnar , Peter Zijlstra , "Rafael J . Wysocki" , Vincent Guittot , Viresh Kumar , Paul Turner , Quentin Perret , Dietmar Eggemann , Morten Rasmussen , Juri Lelli , Todd Kjos , Joel Fernandes , Steve Muckle , Suren Baghdasaryan Subject: Re: [PATCH v7 11/15] sched/core: uclamp: Extend CPU's cgroup controller Message-ID: <20190214154817.GN50184@devbig004.ftw2.facebook.com> References: <20190208100554.32196-1-patrick.bellasi@arm.com> <20190208100554.32196-12-patrick.bellasi@arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190208100554.32196-12-patrick.bellasi@arm.com> 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, On Fri, Feb 08, 2019 at 10:05:50AM +0000, Patrick Bellasi wrote: > a) are available only for non-root nodes, both on default and legacy > hierarchies, while system wide clamps are defined by a generic > interface which does not depends on cgroups > > b) do not enforce any constraints and/or dependencies between the parent > and its child nodes, thus relying: > - on permission settings defined by the system management software, > to define if subgroups can configure their clamp values > - on the delegation model, to ensure that effective clamps are > updated to consider both subgroup requests and parent group > constraints I'm not sure about this hierarchical behavior. > c) have higher priority than task-specific clamps, defined via > sched_setattr(), thus allowing to control and restrict task requests and I have some other concerns about the interface, but let's discuss them once the !cgroup portion is settled. Thanks. -- tejun