Received: by 2002:ac0:aed5:0:0:0:0:0 with SMTP id t21csp4157585imb; Wed, 6 Mar 2019 06:45:31 -0800 (PST) X-Google-Smtp-Source: APXvYqxCf1pobZnO16fYVjkjdbytoO+fJerxC5nCkA+k0ewbcVdTVudUA3tuOtf79XLo+tVnTaUa X-Received: by 2002:a65:60d8:: with SMTP id r24mr6562755pgv.6.1551883531496; Wed, 06 Mar 2019 06:45:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1551883531; cv=none; d=google.com; s=arc-20160816; b=h6aad5Soy9sqjmOmg0uOveiaLE5wGCklCE3cwkTz3TuQH6uVrCDBJGJ2dRxACB7uUY 1Q49S41yuvZCaN8EWsTYR5MKZmh1Ak4eyiq0/j1eYhe7JDSoIB4NmWTZGRxIS4oCCfJ1 Ip1l8YmXUPgXxOuN6k14WZyGLl/e8uxBj7+RFTdOCbREK4ttprBmb1aAY71CAa0B5XfO WcWhWk4vCdiSbPMPMsHVb1rCqaKnGpOxEyoytxNmzW6xSjNdGsVNeMBsEMXG9I3hvH8K mASugOh4Q5n7Z6y/PXqf2VAhIHyVKBG7eAegayqChUiWq1QQe+jnwL1OuLz/I43UweyJ Y03A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :message-id:in-reply-to:subject:cc:to:from:date:dkim-signature; bh=HO2FVV3s3+gu7HhzXsc5YZvRD9XgD7vWiglwP/Nj1rc=; b=z2bCHuKwBRtr3Y5l057h8dI1IQRMAq+bOcAlM8JbqpbiJk/xAypTGMa5v4H4jWsDSt n5uZK4+MVNmUGm3D32T/R9LvtW43EQo7NJ2gf4KOWEu4HU5CPO4XDEhfsg1HsMDzdYAU WBY+a9ztw/mEaPRT5vgNtyW8aZiBtiMVgjfL1rZLjy6GMA1gT27jLVQU0xvB1AmfGf5u J4NTjF1fQNjgX0lj+ggNZrTdh9jDt6fgmPJ8/RBuSaWDIf9Uf8BHpQgDPQ8IM1ZF/6wk 7TNQQgscy80nYCZIv4krBVDcI+iBBrpDHsQsRKH8XJLkaScmt5cjdkk+GV8I/PPvE+6C cS3w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=PlEMSfIY; 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c16si1633830plo.412.2019.03.06.06.45.15; Wed, 06 Mar 2019 06:45:31 -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=@kernel.org header.s=default header.b=PlEMSfIY; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730063AbfCFMLq (ORCPT + 99 others); Wed, 6 Mar 2019 07:11:46 -0500 Received: from mail.kernel.org ([198.145.29.99]:51006 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730042AbfCFMLp (ORCPT ); Wed, 6 Mar 2019 07:11:45 -0500 Received: from pobox.suse.cz (prg-ext-pat.suse.com [213.151.95.130]) (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 0535A204EC; Wed, 6 Mar 2019 12:11:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1551874305; bh=tBnhCSlqLgwmBPyAmakrTsJfwyq/CWP9Ej0xMCJAKnk=; h=Date:From:To:cc:Subject:In-Reply-To:References:From; b=PlEMSfIYj3VIj20iNGIDIhCSALkxRH8E1gNsF4aE7mQfqYOIIKLAvfX4MXRpQP8Xj gnmDKbdWO9OVXEwOWECFgOGxzl/nYuCOkRdUsGUs+XlQmJMRZhyRe0OQ9OfBOhZeMI 1qrdOpBdKnBYmpNV3LvEO/al1TcWEoJBSBHyc2XA= Date: Wed, 6 Mar 2019 13:11:39 +0100 (CET) From: Jiri Kosina To: Vlastimil Babka , Andrew Morton cc: 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 In-Reply-To: <20190130124420.1834-1-vbabka@suse.cz> Message-ID: References: <20190130124420.1834-1-vbabka@suse.cz> User-Agent: Alpine 2.21 (LSU 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. -- Jiri Kosina SUSE Labs