Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp468640imj; Thu, 7 Feb 2019 07:06:06 -0800 (PST) X-Google-Smtp-Source: AHgI3IZ+2ZiM/yB/UlKshDZZnv7Zan5p09am2U2OxlcAk9ebb46g5dBIOhREMAVIfOFdC8gDV9LL X-Received: by 2002:a63:1a4b:: with SMTP id a11mr15350532pgm.254.1549551965993; Thu, 07 Feb 2019 07:06:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1549551965; cv=none; d=google.com; s=arc-20160816; b=yEVfkz5KUAAcbVCfJu0Gl5s9lqMnBqf9v50ZnIHEp1hPuRq/yglHAzONjl9MNnDDNx JM9oYlXSX9SKAbiVfOEyOUl8byVYutd+KoqchcXvRthJsP33zZCYe1zU+FQJl/ZezZ3J Hq4UnbpgJktvDacO1jF3F0oP95FoRwmtM6LcR8vPXc8hossAWvr5PWr3wNsE03j0ps6z 26cif9TC7n7W5zC8X4Wed24xTH5fY+kQRn26BCFZbkDcjVArew5uxTfWmMLTEHP+StTN +mNtpiKl2lvzD+mPvP0JUfeisHfEgoZ010eMNTh5SgpG0Rbwjn1PiJRF67pOayj8y69d wczA== 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=f7ZDxWz5PmQRqfirx64qTSlszpjf9oFFpAHhhgpwKPo=; b=ucDz6mD5ETygO924YcUgpiJ9t0Exgv3M+lR+GBV7FftSYltgjZat1ofQUY+b/H22pI DyHbE2OSsGlBrmkvTj09tq4ekzF2Em913OcrgZFK/t+1jseBRMP5IGrhUbWvrFk/JtNT 2be/P/jhQuMEIjrjxTAfx8pKu+vj7OL6uPmn+qTT0ykzFnO2/4ZYvqtApkEO9CqNS+tX 8U9Z3+59/shvCjZDJqcpUeo4Rhv7gEWNiyRH0CH6L7zXZC30FB8NVK1rtI1Od+79LhGq /PZ3RqJ8EtFwdU/zeFIk511BeggBTcCOeDL3ZFTOJ8QxS3wc4UfBhCKSXBPF8f04kXyG rMBg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@joelfernandes.org header.s=google header.b=awsThBKx; 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 y13si7571415pll.64.2019.02.07.07.05.49; Thu, 07 Feb 2019 07:06:05 -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=pass header.i=@joelfernandes.org header.s=google header.b=awsThBKx; 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 S1726796AbfBGPFm (ORCPT + 99 others); Thu, 7 Feb 2019 10:05:42 -0500 Received: from mail-qk1-f195.google.com ([209.85.222.195]:43441 "EHLO mail-qk1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726707AbfBGPFk (ORCPT ); Thu, 7 Feb 2019 10:05:40 -0500 Received: by mail-qk1-f195.google.com with SMTP id z18so75562qkj.10 for ; Thu, 07 Feb 2019 07:05:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=joelfernandes.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=f7ZDxWz5PmQRqfirx64qTSlszpjf9oFFpAHhhgpwKPo=; b=awsThBKxgug24R0KlX9ZyehaBoW4ws5q5wOSav4Mqj36NOUhpukMaNW00zuVJmZXiE oMc1WrE+DVgdGqPmD2p1d27WKoUbS+a3IDgHyol1jtB0bo9B0dFFUBThfnxtvIc2kWtx XOYX2/0FFLrQHeWYpecSWlwzEbST10nGtXjfA= 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=f7ZDxWz5PmQRqfirx64qTSlszpjf9oFFpAHhhgpwKPo=; b=BgLiqTYmXekI5HXY5VLT9rovyAs3EUqKyDW6zkFNUehyypSAy/3XpivyUZT5ATcwhi gMCXT/v4QjUPKY5btzDniV9qc3wg4xh+RIEjVGB2SHVEada4ecWdZkHfKe4I8IxkHD1E 1W6TuwlmCzOXIg2J0hBbpD96YvXFnd3kCTW41dsuggjK4QWG221cvgWtP54j/IbHyaMU swkhG6PVdHUYVEsEdSjZhQCp686/g+Ym8vSflCa2i2vBXROxrrRhGp/9ThrdiDEuH8un H8frFtJ4JWx31Gpq9UDIdunFlj8SFlhMjhJc6/TscWsJEbtOQ9msIrozXC52trZEgK5L XS+A== X-Gm-Message-State: AHQUAuYmqj2zYApEQvY0CAvQAPsF6BwvsCu8FFxfvOYFpLzcHM/hNzzS PPt1r+yiBfSUh6fMBHFPF6pe+Q== X-Received: by 2002:a37:8c04:: with SMTP id o4mr11371079qkd.165.1549551939531; Thu, 07 Feb 2019 07:05:39 -0800 (PST) Received: from localhost ([2620:0:1004:1100:cca9:fccc:8667:9bdc]) by smtp.gmail.com with ESMTPSA id n9sm10272778qtn.59.2019.02.07.07.05.37 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 07 Feb 2019 07:05:37 -0800 (PST) Date: Thu, 7 Feb 2019 10:05:37 -0500 From: Joel Fernandes To: Hugo Lefeuvre Cc: Greg Kroah-Hartman , Greg Hartman , Alistair Strachan , Arve =?iso-8859-1?B?SGr4bm5lduVn?= , Todd Kjos , Martijn Coenen , Christian Brauner , Ingo Molnar , Peter Zijlstra , devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/3] sched/wait: use freezable_schedule when possible Message-ID: <20190207150537.GA180446@google.com> References: <20190202183743.GA229953@google.com> <20190206233050.GB2092@behemoth.owl.eu.com.local> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190206233050.GB2092@behemoth.owl.eu.com.local> 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 Thu, Feb 07, 2019 at 12:30:50AM +0100, Hugo Lefeuvre wrote: > Hi Joel, > > > I'm curious did you try the freezing process and see if pointless wakeups are > > reduced? That would be an added bonus if you did. > > I'm currently testing these changes. I hope to be able to come back with > more concrete results soon. > > Also, I just noticed that the third patch removes a necessary #include > . I will submit an updated version tomorrow. > > Thanks for the review! Sure, add these test results to the patch as well showing reduced wakeups. I would say submit the freezable_schedule as a single separate patch independent of the vsoc series since it can go in separately, and also benefits other things than vsoc. Also CC Rafael (power maintainer) on it. Thank you! - Joel