Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp2047550imm; Thu, 24 May 2018 05:04:17 -0700 (PDT) X-Google-Smtp-Source: AB8JxZomQVx6SvapRh3HOGTqwM4RodOgzNzUBbilS7E4wTkMUUT2JNU9Zqzc9OsFwq6uiP4B3nTr X-Received: by 2002:a62:c898:: with SMTP id i24-v6mr7076310pfk.35.1527163457591; Thu, 24 May 2018 05:04:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527163457; cv=none; d=google.com; s=arc-20160816; b=0GCCqTH0dLml9zP19I++g6N+BhySFj8OJVaV4zSrzPyBmZyeAHHcHGWSlbHn5IqlXN AC9AlS4Fhp2jrvbCDsB53REOCMCFXM5EdRKA10dT9YyzYvUFZlWzRkZXFGz9DpmLJJyx ADVTa+XXJXHHXfYYrPKlDMBa9oyqR4jXd+JJSiWlsrMghSZMwqj4+Zd1A442fAg7LdUb ZEzelREnyD3dBhO1oXqn+/+t5mq2RHzyjhc+V7GQRMI0IHHRNGapSM2265RCi9/csHs7 6WifKGJ2nd0QyPJbd7jm8sob65P2pwxKvFkIkU0Ih5dD0XL3Dr8KKP2S5kOELPXu/glI tD9A== 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=XVeyKVD7c1jF/OLms2L+nC9rfe79yaGx/OdS4eh5yQg=; b=NAEkuxQogAF4FFOM/0mxYBtpHrjMYwnjbyanOgTloCFITe6F8hBQT0i9wSWxXZrcfu w0323pbI2/PlCS9VTvE69JY/tBFGctAWPmCM24k8+f2aarP3a3mbVbBaCCykR3tV8vnU eTKTVsMDzYTADyVlhxwD3HelVh4kbSRFKkmOE75ysZejLeVOZ95rMcbZkYKMjbdIC0kn WlMXCywPh/+5TzLHMC9PWjYAaVG9cr+XN0dY6bUd0QBVkl+SHJBcMumnH146j+XdHWKQ J0gXMpQx4qpQoDqjRqq1+442GvT5UpFxbjCW/hbDbyfjBt4fgzi3W2yMDdecbUzpRfRh E4wg== 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 q4-v6si20646481plb.312.2018.05.24.05.03.39; Thu, 24 May 2018 05:04:17 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S969618AbeEXMCn (ORCPT + 99 others); Thu, 24 May 2018 08:02:43 -0400 Received: from mx2.suse.de ([195.135.220.15]:41848 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S966276AbeEXMCj (ORCPT ); Thu, 24 May 2018 08:02:39 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay1.suse.de (charybdis-ext.suse.de [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id B650CADFA; Thu, 24 May 2018 12:02:37 +0000 (UTC) Received: by quack2.suse.cz (Postfix, from userid 1000) id 435731E050C; Thu, 24 May 2018 14:02:37 +0200 (CEST) Date: Thu, 24 May 2018 14:02:37 +0200 From: Jan Kara To: Greg KH Cc: Hugh Dickins , 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: <20180524120237.25y5dqpuvdufwiam@quack2.suse.cz> References: <20180524093159.286472249@linuxfoundation.org> <20180524093204.290399449@linuxfoundation.org> <20180524105011.jkmjrmoyqtogtgnn@quack2.suse.cz> <20180524110546.GA16171@kroah.com> <20180524112841.GA17626@kroah.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180524112841.GA17626@kroah.com> User-Agent: NeoMutt/20170421 (1.8.2) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu 24-05-18 13:28:41, Greg KH wrote: > 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? Heh, fair enough. I guess Mel in the end didn't find patches worthy enough to be pushed to stable tree. But at least now I know they are well tested with 4.4 base so they should do no harm in the stable tree so my stance is closer to neutral. Honza -- Jan Kara SUSE Labs, CR