Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp2011843imm; Thu, 24 May 2018 04:30:06 -0700 (PDT) X-Google-Smtp-Source: AB8JxZpGnyTPwjgsxUfEi7XldiDtiZfY6yDMxUVtLaOvH2Xu2vwFZkKTqeXB2NtwUKH67+DXCMtH X-Received: by 2002:a65:5784:: with SMTP id b4-v6mr5574500pgr.317.1527161406748; Thu, 24 May 2018 04:30:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527161406; cv=none; d=google.com; s=arc-20160816; b=VwfLc+cKLaczwzugXDXXaoTdaqiTpqovg+aFdQp2AVFF9oKZSwFAq8kQqGTl09hw1x urdhTlR0FQO3n82oub1FzWhfJ8CvIIi6lDcKpsGgT1twIVoSyxqwXKoHSa3VE/bI4B01 iF5HAozmzCbZWIBaEzE1Zb1twbF7bSWPsDvRanxZNXk4Xr4R2vDcJQ40fTF8bdkBGRNe RnKrYzW9/rTBgM8grzHp8/k8oBRZnMR26zisJkGR9gs5WdaD8S8VtXvWv7VzoQ4ckCcl GBC8PjbNHF1t9onar50WRqt9F9joiG3mFn2OuUv1uVab8dNABmYQh8O6vHdA/tDYLDuK zJ2w== 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=DnK3og192pDs9G7qkeCXgJemqv+bCdxhDsNbXUKDwG0=; b=KlE6u8N6EwpCXx6aQbnKvR4x0b8Ua/gET9KiaQCcXPd3u2Ac2gOoD2UBllCchk1HtL /jiRtZ6ekgnCEnS8obiIWrS0x0Q2ZnBne0fqSldcdLcRGwxQL4rCeYtpMSSe+RjnUt1k UlN36tz/YgSkHRf+lVfNTENPYEp11jBPsNBYRqRYqLO7soS4GoF28IrO9FR4vkOlSs1/ 9d3Wit26iWyLh7iHFPhvCA81t3xCaRrgmQxWgVmRRI+NR8LMzzu8I2K5W3LkTxPk56ET jkzc28BfmjGiUJ1Zcfxt0ar/j6pC/QRWYicXBkcMJ2C/UCM9XbY90+UgsWfpkoBrgDzM 889Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=g6BhK+7A; 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 c3-v6si20780039pld.593.2018.05.24.04.29.50; Thu, 24 May 2018 04:30:06 -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=@kernel.org header.s=default header.b=g6BhK+7A; 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 S968908AbeEXL3N (ORCPT + 99 others); Thu, 24 May 2018 07:29:13 -0400 Received: from mail.kernel.org ([198.145.29.99]:60110 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S968897AbeEXL27 (ORCPT ); Thu, 24 May 2018 07:28:59 -0400 Received: from localhost (LFbn-1-12247-202.w90-92.abo.wanadoo.fr [90.92.61.202]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id C557C2086E; Thu, 24 May 2018 11:28:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1527161338; bh=2/kl1qQg6N10nrOd8gZgBAaAkUntQvpQgwWiMMFj5u8=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=g6BhK+7Ae3eIG+MKm2A6T/PDKBGvl8pEPrMO7uXTfux7wFq8GouuL6AeH1S4PXjh4 aIliXZP5A/+U06cpfoZ0wVb7C5gjYhJLraIP1MrAUmZ1MbnjMXAFH8EeRytlYvRzqb YRRu5ZOk3JetvTnbrv901czAfcEGyctV8FTtJkm0= Date: Thu, 24 May 2018 13:28:41 +0200 From: Greg KH To: Hugh Dickins Cc: Jan Kara , linux-kernel , stable , Mel Gorman , Andrew Morton , Linus Torvalds , Mel Gorman Subject: Re: [PATCH 4.4 50/92] mm: filemap: avoid unnecessary calls to lock_page when waiting for IO to complete during a read Message-ID: <20180524112841.GA17626@kroah.com> References: <20180524093159.286472249@linuxfoundation.org> <20180524093204.290399449@linuxfoundation.org> <20180524105011.jkmjrmoyqtogtgnn@quack2.suse.cz> <20180524110546.GA16171@kroah.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.0 (2018-05-17) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, May 24, 2018 at 04:17:12AM -0700, Hugh Dickins wrote: > Thu, May 24, 2018 at 4:06 AM Greg Kroah-Hartman > > wrote: > > > On Thu, May 24, 2018 at 12:50:11PM +0200, Jan Kara wrote: > > > On Thu 24-05-18 11:38:27, Greg Kroah-Hartman wrote: > > > > 4.4-stable review patch. If anyone has any objections, please let me > know. > > > > > > Just one objection: Why does stable care about this (and the previous > > > patch)? I've checked the stable queue and I don't see anything that > would > > > have these patches as a prerequisite. And on their own, they are only > > > cleanups without substantial gains. > > > There's a small gain here: > > > > > paralleldd > > > > 4.4.0 4.4.0 > > > > vanilla avoidlock > > > > Amean Elapsd-1 5.28 ( 0.00%) 5.15 ( 2.50%) > > > > Amean Elapsd-4 5.29 ( 0.00%) 5.17 ( 2.12%) > > > > Amean Elapsd-7 5.28 ( 0.00%) 5.18 ( 1.78%) > > > > Amean Elapsd-12 5.20 ( 0.00%) 5.33 ( -2.50%) > > > > Amean Elapsd-21 5.14 ( 0.00%) 5.21 ( -1.41%) > > > > Amean Elapsd-30 5.30 ( 0.00%) 5.12 ( 3.38%) > > > > Amean Elapsd-48 5.78 ( 0.00%) 5.42 ( 6.21%) > > > > Amean Elapsd-79 6.78 ( 0.00%) 6.62 ( 2.46%) > > > > Amean Elapsd-110 9.09 ( 0.00%) 8.99 ( 1.15%) > > > > Amean Elapsd-128 10.60 ( 0.00%) 10.43 ( 1.66%) > > > > > > > > The impact is small but intuitively, it makes sense to avoid > unnecessary > > > > calls to lock_page. > > > Yes, it's small, but it's marked in the SLES kernel as "needs to be > > merged into stable", so obviously it matters to someone :) > > Hmm. I had the same reaction to these two as Jan, but assumed that they > made applying later patches easier, and didn't take the trouble he did to > find that's not so. > > I've no wish to be disputatious, but it does seem that the definition of > "stable" has changed, and not necessarily for the better, if it's now a > home for small gains: I thought we left those to upstream. This is in the SLES kernel for a reason, and again, it's in the section that says "this should be pushed to stable". So if it's good enough for the SLES kernel, why isn't it good enough for all users of this kernel tree? If you all think it should be dropped in both places, that's fine with me :) thanks, greg k-h