Received: by 2002:ac0:aed5:0:0:0:0:0 with SMTP id t21csp4479405imb; Wed, 6 Mar 2019 14:36:33 -0800 (PST) X-Google-Smtp-Source: APXvYqzGpBJ3nwAQXMkUG68yNGf1lUb9wL35jwMBWlL7WqITPqINn3N0EGR4Wtp7RbGHSIh/i4pb X-Received: by 2002:a63:455f:: with SMTP id u31mr8356348pgk.241.1551911793875; Wed, 06 Mar 2019 14:36:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1551911793; cv=none; d=google.com; s=arc-20160816; b=oGeGAS5e9Q2XNxjKLEepPSI/q29p60BTdKTEI/526xZLQRr64EK3qvllGTmNq6ftqh Tt1qKDEnJS/AXXIPLimVJ0Waqq1NH7ph8Or6L+/QuNYFcjHM3baskkA6w5U1Z6PZ5egw acajRE47ZwDCC9p5u1wylls2dSBdyKLPkEFZljYsVl8cKMeWq3ajKBVrddvEJUlV0gtD dkI0+W+V/orXCW2CWMyND6CWTw/s6N+cBgfzI2Q97MnEqKNAxKEm1ftwO49Zl7nB+sfS JAJaaDn34kAyXYLAIijiDtwratx5BqTYAOLSi1caoKdB/XiNR3Zi2Df7vagakKZkqbkD J2Dg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date; bh=AJZgJR3Kmr9TdI3MyLmb8yU++bkqW2SFhH3bSfBEhq8=; b=Ls9CuiZDXzsk8Bk0pB2cJsoaWkF8Ae2UCwofhKFEzIIjW0g+X3YMewqX09KC+mSz3U tvIvACYZr3gKnEEJ7nENktJqHFyn244pBHWIrztaBdaeeAA8ANdd9zUoe9cRj/GNYHtc oo4BsekwzMrcm/t609JC8io7quHiPdnXNbZ5W5/ZAdJSpjtids6CsMqtdmek4+BwIoUA HoskFNHJRDpdckiWxtGsEcbdF7tOwe3RxtHxete0P64vjXOG7bP6fKoJy7AhuKQop+Yf z89GVQH4WCAhgkfQNgm09iMQ6bxrsd5JOsYzrpJ/Z9sk/2auzf+gHGZ6HQAR7d4lBTAA Maaw== 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 bg3si2428861plb.363.2019.03.06.14.36.18; Wed, 06 Mar 2019 14:36:33 -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; 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 S1726166AbfCFWfu (ORCPT + 99 others); Wed, 6 Mar 2019 17:35:50 -0500 Received: from mail.linuxfoundation.org ([140.211.169.12]:58646 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725793AbfCFWfu (ORCPT ); Wed, 6 Mar 2019 17:35:50 -0500 Received: from akpm3.svl.corp.google.com (unknown [104.133.8.65]) by mail.linuxfoundation.org (Postfix) with ESMTPSA id AA70B5975; Wed, 6 Mar 2019 22:35:48 +0000 (UTC) Date: Wed, 6 Mar 2019 14:35:47 -0800 From: Andrew Morton To: Jiri Kosina Cc: Vlastimil Babka , Linus Torvalds , linux-kernel@vger.kernel.org, linux-mm@kvack.org, linux-api@vger.kernel.org, Peter Zijlstra , Greg KH , Jann Horn , Andy Lutomirski , Cyril Hrubis , Daniel Gruss , Dave Chinner , Dominique Martinet , Kevin Easton , "Kirill A. Shutemov" , Matthew Wilcox , Tejun Heo Subject: Re: [PATCH 0/3] mincore() and IOCB_NOWAIT adjustments Message-Id: <20190306143547.c686225447822beaf3b6e139@linux-foundation.org> In-Reply-To: References: <20190130124420.1834-1-vbabka@suse.cz> X-Mailer: Sylpheed 3.6.0 (GTK+ 2.24.31; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 6 Mar 2019 13:11:39 +0100 (CET) Jiri Kosina wrote: > On Wed, 30 Jan 2019, Vlastimil Babka wrote: > > > I've collected the patches from the discussion for formal posting. The first > > two should be settled already, third one is the possible improvement I've > > mentioned earlier, where only in restricted case we resort to existence of page > > table mapping (the original and later reverted approach from Linus) instead of > > faking the result completely. Review and testing welcome. > > > > The consensus seems to be going through -mm tree for 5.1, unless Linus wants > > them alredy for 5.0. > > > > Jiri Kosina (2): > > mm/mincore: make mincore() more conservative > > mm/filemap: initiate readahead even if IOCB_NOWAIT is set for the I/O > > > > Vlastimil Babka (1): > > mm/mincore: provide mapped status when cached status is not allowed > > Andrew, > > could you please take at least the correct and straightforward fix for > mincore() before we figure out how to deal with the slightly less > practical RWF_NOWAIT? Thanks. I assume we're talking about [1/3] and [2/3] from this thread? Can we have a resend please? Gather the various acks and revisions, make changelog changes to address the review questions and comments? Thanks.