Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp675896ybl; Fri, 6 Dec 2019 04:32:50 -0800 (PST) X-Google-Smtp-Source: APXvYqx8BjQffl8sgjo+Q+OI8bTKodm0FMmk58cDoEQAB27rFHk4cZx819mlE8qCstUdgUK2F9xN X-Received: by 2002:aca:1c09:: with SMTP id c9mr5263131oic.85.1575635570851; Fri, 06 Dec 2019 04:32:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1575635570; cv=none; d=google.com; s=arc-20160816; b=qOhJd9FalHKjK29CqwfxA/Ap0vy2JTyYyRypVCig/bKZS1P2T4hiwy+LqzIKNorP/G GonsaFkKxC+L6fnr54ou9sB5DUstx30hsBDZoiCUgEPBbAn6iVmk5AJMoDJGw8nziKe3 YrxAWqhc0VkTdcq7G4BmOrK48qkw3/QJe9vK/ABik+zlbLn7ZKEbwO2KDceiQSCxzSLv S67mIqCuwUrZ6/IBtthizQa6IIIeccykqFcGe/bGsr4hrRTNPoO7pQamHz3U49gRxn/i C5VyOdWnGJ7Rk9EHN0qy0w4sp591uIoPNEk76zToZ1kc3KM8CuPeRM0pHy7Q5j7UUFEK Fc4w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=1ujvXOyxfQbrhl6wAXXD5TBIVVBPXHGMFhevrWyRnVI=; b=HsH8tfPo0Sji2XJn1TSDGLs3mydTHixwNo25JIIo+R7XrCBxfP6xJOvADvkVXKu8a4 Ykx+UxuTpo06tMANYEqCYkVUkSJ4ectWA1vYNhOy0IdSjM5/oC2/ny6oIJZQ8P89mI+k hNJzOdRNNHl5SMTg0eVJECT9+HuE4ksd45w1TqxBAATpW/I4VS39cQB5hZWbFKz9pt5u PETOZCnZlcNB87lPhgPQTLnpdKYcsarFsDNObrNpwCY4C2CsDEGKkqnVINicdoz+V5gO rpfMCkR/rNBO7xXbkTtl+AvQMdxrL/ZXEEWqjaHFww1lx0CdrgesbSyUaUvU1CRK9WC6 dU0A== ARC-Authentication-Results: i=1; mx.google.com; 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 f19si819889oti.13.2019.12.06.04.32.38; Fri, 06 Dec 2019 04:32:50 -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; 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 S1726259AbfLFMcH (ORCPT + 99 others); Fri, 6 Dec 2019 07:32:07 -0500 Received: from foss.arm.com ([217.140.110.172]:42110 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726124AbfLFMcH (ORCPT ); Fri, 6 Dec 2019 07:32:07 -0500 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id A39DC31B; Fri, 6 Dec 2019 04:32:06 -0800 (PST) Received: from [192.168.1.13] (unknown [172.31.20.19]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 94B563F52E; Fri, 6 Dec 2019 04:32:03 -0800 (PST) Subject: Re: [RFC 0/3] Introduce per-task latency_tolerance for scheduler hints To: Parth Shah , Valentin Schneider , linux-kernel@vger.kernel.org Cc: peterz@infradead.org, mingo@redhat.com, vincent.guittot@linaro.org, patrick.bellasi@matbug.net, qais.yousef@arm.com, pavel@ucw.cz, dhaval.giani@oracle.com, qperret@qperret.net, David.Laight@ACULAB.COM, morten.rasmussen@arm.com, pjt@google.com, tj@kernel.org, viresh.kumar@linaro.org, rafael.j.wysocki@intel.com, daniel.lezcano@linaro.org References: <20191125094618.30298-1-parth@linux.ibm.com> <450fc7e2-49d5-d809-281f-7d9a99d3e530@arm.com> <838f233e-fa4c-d5a3-9b50-69e2e121edda@arm.com> <5c5b61fa-e8f7-5aa7-0fe0-91cb0d4736fb@linux.ibm.com> From: Dietmar Eggemann Message-ID: <1cc0a6a4-85e9-4b53-7139-261558682582@arm.com> Date: Fri, 6 Dec 2019 13:31:53 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.2.1 MIME-Version: 1.0 In-Reply-To: <5c5b61fa-e8f7-5aa7-0fe0-91cb0d4736fb@linux.ibm.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 05.12.19 18:13, Parth Shah wrote: > > > On 12/5/19 7:33 PM, Dietmar Eggemann wrote: >> On 05/12/2019 11:49, Valentin Schneider wrote: >>> >>> On 05/12/2019 09:24, Dietmar Eggemann wrote: >>>> On 25/11/2019 10:46, Parth Shah wrote: [...] >> OK, I went through this thread again. So Google or we have to provide >> the missing per-taskgroup API via cpu controller's attributes (like for >> uclamp) for the EAS usecase. > > I suppose many others (including myself) will also be interested in having > per-taskgroup attribute via CPU controller. Ok, let us have a look since Android needs it. [...] > I kept choosing appropriate name and possible values for this new attribute > in the separate thread. https://lkml.org/lkml/2019/9/30/215 > From which discussion, looking at Patrick's comment > https://lkml.org/lkml/2019/9/18/678 I thought of picking latency_tolerance > as the appropriate name. > Still will be happy to change as per the community needs. Yeah, SCHED_FLAG_LATENCY_TOLERANCE seems to be pretty long.