Received: by 10.192.165.148 with SMTP id m20csp4232264imm; Tue, 8 May 2018 05:19:52 -0700 (PDT) X-Google-Smtp-Source: AB8JxZpSnBqMBzw0ofEJ9ewGVGJLwZGhWMhV32A5OYENatIpCsIR/MzbR+YLg3x8LtguQ20z1sQk X-Received: by 2002:a65:4502:: with SMTP id n2-v6mr31659751pgq.95.1525781992592; Tue, 08 May 2018 05:19:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525781992; cv=none; d=google.com; s=arc-20160816; b=MnTk0WREImVM/64UTKj0HhIuvKFDuHT51aYs6MnXWlK1SUDnIBa447iveoBlOLsM/H jDmAajFE0N2umw4JqwAmk2HhvxDKkVhUstMLyw1JIzIhMbrGThi06QBKTk8sw1NHcJXT GTJ6dAH4Qx0oOiNtRWRFLRFiiw7GIUaGH0XT+u+59U8LEkqHs3AWeAr7zMEVruP9pyvi SJwz2FMpKdYqiNNRCPLBEn7J/fQuPPgIXzg0WuRRj2w78gz54ATqbE5lMHU25CicXZh4 IdPiWU5cuGlidlcaiASPLlpYbIaGK30gg2SH9CtL6bdNBs92zXQHFbqq55bPqsiOr6B2 6dXw== 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:arc-authentication-results; bh=nzy6Tz//gSpscTlCpV3IvKaJdDb3iGJOHlcsP2y8re8=; b=b+I4TwOFe7FrwEftw7C65YVWuSZSF9+N/7k3xMrqiswOdsFAY4kAq9TpO7dp7ob7+a l3vmi/FTe2wY7Yuqp1dMI7FLvWvdmS2NS/tiERMvjF63hdHqS1NgIxLVU7EJJnhCeysV VZ2H4wWJg5LyEYjJB7+AEsrkQ2DMOXCiMlz9JaTY1WYiLmzeu3lvVZ/T9lrY9aZHYUKm yq/tZWJstBMpaFtLqAXI8v0BKpIJpwATnjlffq+CdvSyIjhLH0rGZWWrXfLSIsoFD0Lu Q9PuHtDXoNMCb1XMhoQ1D9Cg8beWiBzWxXYXJCLZ0iiCgBsDvI7zEOSClbvLcVMz3Nd0 VjYA== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f4-v6si713747pgv.353.2018.05.08.05.19.38; Tue, 08 May 2018 05:19:52 -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; 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=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755099AbeEHMRm (ORCPT + 99 others); Tue, 8 May 2018 08:17:42 -0400 Received: from mail-wr0-f194.google.com ([209.85.128.194]:43901 "EHLO mail-wr0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755085AbeEHMRk (ORCPT ); Tue, 8 May 2018 08:17:40 -0400 Received: by mail-wr0-f194.google.com with SMTP id v15-v6so32065564wrm.10 for ; Tue, 08 May 2018 05:17:39 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=nzy6Tz//gSpscTlCpV3IvKaJdDb3iGJOHlcsP2y8re8=; b=echdwrXORWDyJcgfJlNcfhCtpEH+UM4DejcNwsdOvOLchUBK22vkZS1LqUCXj7y/NU sC2lVN/+4/2Ig7UR5WtTrdZZL9ENbkwjqdEY6Y9Ca438ol1zsiRnRxuqWKJF+gNjdOOu 4FAgvbIDRCFqpnCtQA4KZZ/sOFopl9j2q9AQ3dAZbD6GZ+uq8yxPupYspH5rXPCz6YAM fQw7qXC15VR18Ho1LR6oe2coksqoKYFPY9VusWiImq/leJwYuIh6w0J1FpGAF3zjkufo St9dD1GCKhCnVxxZ5oWjscwTydhXvReeEgClzJhsO1OL8YziLdojB4h81/pqfprQJv3y y3MA== X-Gm-Message-State: ALQs6tDOU85gf29VPFXczakSylcsCkyFmjYJITa7swLzb6cl44hDlT6d IxWcknJyDcHsCnreheSnNOb+pQ== X-Received: by 2002:adf:b859:: with SMTP id u25-v6mr32651111wrf.162.1525781859036; Tue, 08 May 2018 05:17:39 -0700 (PDT) Received: from localhost.localdomain ([151.15.207.48]) by smtp.gmail.com with ESMTPSA id 33-v6sm19225442wrs.5.2018.05.08.05.17.37 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 08 May 2018 05:17:38 -0700 (PDT) Date: Tue, 8 May 2018 14:17:35 +0200 From: Juri Lelli To: Viresh Kumar Cc: Dietmar Eggemann , linux-kernel@vger.kernel.org, Peter Zijlstra , Ingo Molnar , linux-pm@vger.kernel.org, Pavan Kondeti , "Rafael J . Wysocki" , Joel Fernandes , Patrick Bellasi , Quentin Perret Subject: Re: [PATCH] Revert "cpufreq: schedutil: Don't restrict kthread to related_cpus unnecessarily" Message-ID: <20180508121735.GD19168@localhost.localdomain> References: <20180508073340.13114-1-dietmar.eggemann@arm.com> <20180508082242.bre6sjfvefhz6xc3@vireshk-i7> <8cf21b1a-ca6e-fed7-43c5-94c66ff5986b@arm.com> <20180508094526.ajyjrwytguhv4xpe@vireshk-i7> <7922d081-0bfb-0e55-7caf-ec9fb5d7bab0@arm.com> <20180508105332.rxphnwo4byr42gmy@vireshk-i7> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180508105332.rxphnwo4byr42gmy@vireshk-i7> User-Agent: Mutt/1.9.2 (2017-12-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 08/05/18 16:23, Viresh Kumar wrote: > On 08-05-18, 12:36, Dietmar Eggemann wrote: > > That's true but where is the benefit by doing so? (Multiple) per-cluster or > > per-cpu frequency domains, why should the sugov kthread run on a foreign > > cpu? > > I am not sure I know the answer, but I have a question which you can > answer :) > > Is it possible for a CPU (which already has high priority deadline > activity going on) to be busy enough to be not able to run the > schedutil kthread for sometime ? That would be the only case I believe > where it would be better to let some other CPU go and change the > frequency for this one as we better run faster while we have the high > load going on. Shouldn't happen. This kthreads are "special" and will preempt any other DL task (stop class win of course).