Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp545301ybe; Thu, 5 Sep 2019 01:59:56 -0700 (PDT) X-Google-Smtp-Source: APXvYqyrhpNsUZnJ6NtEkaSWYzQQfWslseiBiMOLVag+JkVsLAyF6D8yYMD7tHjudQXxDx4erFc/ X-Received: by 2002:a65:464d:: with SMTP id k13mr1935592pgr.99.1567673996694; Thu, 05 Sep 2019 01:59:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567673996; cv=none; d=google.com; s=arc-20160816; b=R+6SOTrN+9eNw8qJMKFf+VVgcO3ONz+wTRlSNIg7w2dnpUuUuPZuI6PLic2R8piQ6p GvxURM1BviT262JaasqvdZ6vt11JwYlzomk9hnQ5pDnhKyB8jFVRjJoFhqDDKYtzwmp4 oqltMSZHMyW63XBLgGh7gKlRsZyn5iV0Rx3Mlk0lx4MV2NrwX9A3fQuFaJJch9sCU5Ja thUUrlOEgWv1ZTsIV2+zzZpzNM5nQqVxTvdY/VZW1Xf//UrooNVn1HDgGm7TnHI7EftR xhwgB1A1NMOJ7zWndNYblWTCwsDAj0ePoYvraOEXLxGRJvqI0tj0QkPKohAaB9u2lkLL RjdA== 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=fp8eBYz/kzKBULebM5HWUHnX6du+0lSaxjkyi7TgD2Y=; b=VpDcdNlp6UE5MyZ0mT0Jql7x2+DW81KXJGY0Vckz9Be4eOf7aV8NG/oxT5YYcYkfeL nQPFUAerRyQiXXpTYUXRzYvqCaeGUCHp2YijGxDijHztp5DhrBKWMRyHQmgk/ZfqV9SF uOuCTmJ4QQirLkugTxFA3m75mI5of/UpjeraR4E00UxwSKxf4t+FGzJiL5BPhwq+cXo7 H5QVyImN++778x1KtIMvSeBdYWd6UfZQq9kb1ykhQGHG3pKg3wJix5rdHBuL8Kq8BQO7 eZ6M26ZowFWZVhy/DY9datmgosEujuoKy/PHQBwWr8bsYMheSi4wbd6wHEf2kKIJ231l aF0Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=smk8E7Pf; 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 x7si636706pff.140.2019.09.05.01.59.40; Thu, 05 Sep 2019 01:59:56 -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=@infradead.org header.s=bombadil.20170209 header.b=smk8E7Pf; 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 S1732161AbfIEIbi (ORCPT + 99 others); Thu, 5 Sep 2019 04:31:38 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:50172 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726162AbfIEIbi (ORCPT ); Thu, 5 Sep 2019 04:31:38 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=fp8eBYz/kzKBULebM5HWUHnX6du+0lSaxjkyi7TgD2Y=; b=smk8E7Pf118vl5Sb9vHNO/qwp WrgYpMzFq++wmk1vpQ5C5e3uGt20R30eogQ9ar7yKSafJBO58IgNxsauGh+JAAo7MwNeDx/FtTqnc N3EOFeXFPPDEQCcregjIrlpTU+kdson5EHbN4VSECsJCcE5GrT1ImcyRvYfbnXl4mqYppYHHQU3Ul yG0YqXHVfYTac4W/W+gMsXC8YQn947jKfrsuMWcac4U0l1N88OT0vyX4ExCQy9fgnU3ayMciPshB0 QhLJL5inEGAGV1qw6EWScu/AcTwVjbnBWmSUdUVQ9CJ3WoQCdrJysTFPewLToeLQo5KideGrmu5IH KoN61n6Ew==; Received: from j217100.upc-j.chello.nl ([24.132.217.100] helo=noisy.programming.kicks-ass.net) by bombadil.infradead.org with esmtpsa (Exim 4.92 #3 (Red Hat Linux)) id 1i5nAv-0007ow-FU; Thu, 05 Sep 2019 08:31:29 +0000 Received: from hirez.programming.kicks-ass.net (hirez.programming.kicks-ass.net [192.168.1.225]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by noisy.programming.kicks-ass.net (Postfix) with ESMTPS id 5D52B305E47; Thu, 5 Sep 2019 10:30:50 +0200 (CEST) Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id 42FD620EFA5D9; Thu, 5 Sep 2019 10:31:27 +0200 (CEST) Date: Thu, 5 Sep 2019 10:31:27 +0200 From: Peter Zijlstra To: subhra mazumdar Cc: linux-kernel@vger.kernel.org, mingo@redhat.com, tglx@linutronix.de, steven.sistare@oracle.com, dhaval.giani@oracle.com, daniel.lezcano@linaro.org, vincent.guittot@linaro.org, viresh.kumar@linaro.org, tim.c.chen@linux.intel.com, mgorman@techsingularity.net, parth@linux.ibm.com, patrick.bellasi@arm.com Subject: Re: [RFC PATCH 1/9] sched,cgroup: Add interface for latency-nice Message-ID: <20190905083127.GA2332@hirez.programming.kicks-ass.net> References: <20190830174944.21741-1-subhra.mazumdar@oracle.com> <20190830174944.21741-2-subhra.mazumdar@oracle.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190830174944.21741-2-subhra.mazumdar@oracle.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Aug 30, 2019 at 10:49:36AM -0700, subhra mazumdar wrote: > Add Cgroup interface for latency-nice. Each CPU Cgroup adds a new file > "latency-nice" which is shared by all the threads in that Cgroup. *sigh*, no. We start with a normal per task attribute, and then later, if it is needed and makes sense, we add it to cgroups. Also, your Changelog fails on pretty much every point. It doesn't explain why, it doesn't describe anything and so on. From just reading the above, I would expect it to have the range [-20,19] just like normal nice. Apparently this is not so.