Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp638333imm; Wed, 23 May 2018 03:07:01 -0700 (PDT) X-Google-Smtp-Source: AB8JxZreXVJUgCWNBX9W/Mnzj31ap8Mhf4Q8JfivlLiWXwjMo0Nsw24yNRZeMboVijr/BlOKxBpd X-Received: by 2002:a62:fe0e:: with SMTP id z14-v6mr2255370pfh.73.1527070021886; Wed, 23 May 2018 03:07:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527070021; cv=none; d=google.com; s=arc-20160816; b=Uohy850BqLQ62/adQYGJgWTp0GHOQusfwUgcsO311hT8S7doZ6xvDrRDKzGb0WOBUE 5lfUUBssGJ0Hl3DNo9SV3nBO5wBEUjyIInLhVgovqAUSvXLj1/bZ42AMsGCDZ11s8igq FyTG4zrTdrYwm+VXgSDYJvhql0ex/EgZNhnXQs3u1Vm7Yf1k87gpO1f0C185lJmeSQ07 AlC5htLK+VQXxRlAZvifDbtRT0xkocjaC6pARXKeMwoLWis4k5MFr0q9Lt0/VABr661c 20tM2zWGEabDSjbGt28dNFnznjZjBNIKZzG/eAzx8RK9eRnqSTFm9AbF3oKU3kj+juA5 Mj1g== 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=Rsgqp6gf5SwD2r4pnzuFACNqsYv5GtMiBbZduTEQFWQ=; b=fX+R+L5Ahimlg6biorGX3r8dBrJSHXi/pJ3ScW8cJRteFgSmkdZLwrvdG1LKn80wrs jvJeVr3N2hFLJaXeEdUs5rdt/Dbk0JLjwe8aU6JzZki5ZTIjarWNmPxpAGwypbadgIij CmppaoZZprVxZ5LTXkektrlp3awHSnQb3JcOrEMF3Izsp7bKYrsop4mRLD3i7yFENQoT 7Z3wb1EzrkOVQM3SoUAowoqkopg3rle93HQtXVOClEvAZyuzjx5in0gHZZ7cf9RJBHSB uLcT7/LAa+qSvTPHHJhw9oye1LaHvUsrxSxGS+olSKC6s4jWTdbuAvlqwWcsAxzDch++ aUfw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=MBuJy0IU; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z2-v6si17849162plk.184.2018.05.23.03.06.47; Wed, 23 May 2018 03:07:01 -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=pass header.i=@linaro.org header.s=google header.b=MBuJy0IU; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932470AbeEWKGW (ORCPT + 99 others); Wed, 23 May 2018 06:06:22 -0400 Received: from mail-pl0-f66.google.com ([209.85.160.66]:35905 "EHLO mail-pl0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932258AbeEWKGS (ORCPT ); Wed, 23 May 2018 06:06:18 -0400 Received: by mail-pl0-f66.google.com with SMTP id v24-v6so12739248plo.3 for ; Wed, 23 May 2018 03:06:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=Rsgqp6gf5SwD2r4pnzuFACNqsYv5GtMiBbZduTEQFWQ=; b=MBuJy0IUobHdbpzYx+gv5nZ77PSKAYBd3Q2P/5fj7RofeeCIXZ1oRArOyI8zFGh/Lk Y+zP0+9btA0Mhmj2jgh/H10mLwKp9FjYg7s7+pOjcDOPMudRO/MC5BxcDaVGPQtbfJSm EIO3Nbe8kHcesk8Y4FLxLJCN94MjoGUl5B4AE= 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=Rsgqp6gf5SwD2r4pnzuFACNqsYv5GtMiBbZduTEQFWQ=; b=bTMyb5FzNKQEDJuDQ5QoJ2QRa3R1mG9bYBuXjzkWiBYVPiFrFvA8TxlHLzpmpxnWCi Tv9UH/G2xiDMl3QdoFp8NaMU2DfNUIJ5oRVrgsbewJoOVra/0NewrVk6kAdH5uAM6gyn aoaONRi7GcvItdjYoqmaUcXrtAXhrGHj10PDwr+sTpnzx5zhVXuDDOlGUZ729oq/dCz2 lO2JFATVHtwKD2DwZTKGXnNh6AU1aX+3UWiXmxxqj15LwMVp5RiZxo+WBRTAG2p7nWi+ Lojwbamn7ROQVHpvb5zNvzOYZ27Pu7qwEq1HLUnUNY2k5kt2CM5qizzUIaVQo5U9Ikn3 D4lA== X-Gm-Message-State: ALKqPweKAWWI4P3mSMHVzy9dBKRovSMHKBjIIKOGCxSuCcUjym1K1ngU AMQpmurISMCamPObl0necdYhng== X-Received: by 2002:a17:902:622:: with SMTP id 31-v6mr2302111plg.135.1527069977769; Wed, 23 May 2018 03:06:17 -0700 (PDT) Received: from localhost ([122.167.129.138]) by smtp.gmail.com with ESMTPSA id z131-v6sm27434976pgz.86.2018.05.23.03.06.16 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 23 May 2018 03:06:16 -0700 (PDT) Date: Wed, 23 May 2018 15:36:15 +0530 From: Viresh Kumar To: Joel Fernandes Cc: "Joel Fernandes (Google.)" , linux-kernel@vger.kernel.org, "Rafael J . Wysocki" , Peter Zijlstra , Ingo Molnar , Patrick Bellasi , Juri Lelli , Luca Abeni , Todd Kjos , claudio@evidence.eu.com, kernel-team@android.com, linux-pm@vger.kernel.org Subject: Re: [PATCH v2] schedutil: Allow cpufreq requests to be made even when kthread kicked Message-ID: <20180523100615.gxd35efqn3h6b55u@vireshk-i7> References: <20180518185501.173552-1-joel@joelfernandes.org> <20180522103415.cuutobi5kbhj4gcw@vireshk-i7> <20180522220953.GB40506@joelaf.mtv.corp.google.com> <20180523090101.6xifikvjpirqafox@vireshk-i7> <6A76301E-E383-439D-AD1E-6DC2B2CAC3CE@joelfernandes.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <6A76301E-E383-439D-AD1E-6DC2B2CAC3CE@joelfernandes.org> User-Agent: NeoMutt/20180323-120-3dd1ac Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 23-05-18, 02:42, Joel Fernandes wrote: > Probably. But then Rafael is changing single policy to use the lock > so then barrier wouldn't be needed at all. In that case, both mine > and Rafael new patch can go into stable which handles your race ( > optimization == fix in this case :P ) Yeah, we discussed that offline. Go get some sleep. There are no barriers in this world :) -- viresh