Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp3863555imj; Tue, 12 Feb 2019 06:04:07 -0800 (PST) X-Google-Smtp-Source: AHgI3IZ72nEOq3GJg/bPLxxzMXmhB3dqcrOi7Sff8lQ2RLUrK6MedYAw1IIn81kqe7ekhSH7jylN X-Received: by 2002:a65:6298:: with SMTP id f24mr3787160pgv.183.1549980247469; Tue, 12 Feb 2019 06:04:07 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1549980247; cv=none; d=google.com; s=arc-20160816; b=BJdSI8pUSLr8NaV7/W3tuLpkhtyR1CMsOOL9nWJtAoGdP6dmzAt8zPGALY76dfzdKm 05X8une9lBfIf4JsBLKOvltswrr3IkL2Cu4oWgtsvUrvCN4FitlhY3VdznsaZDpe1QrH ILKKAo4jEpplBKHrqoTpynZURhnKtobzsNWBXPTzfti31RzCQ4zpWnCZcJp0mE3MyoOV eSjgKp757MNrv3cxq3c8XKMMsDCfMJgu3HNxJfTila3ZBfwFoVOzpcUdgVq9+IoWE7ED c7mEALSDbUINbBIQfJ5nFmooEuqZameKzghxPwzv/YDEnVHoLkC5QxDbU8sRIB8Ng5Y8 qX+A== 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; bh=lfuceC7Qr6MbregAzNnIpzF3SVe0mqgXIeSgihQvyNY=; b=HPzLuUcFjeoCi/0dwBsAO1aGIYsl1eP7hH8yTewIRIzso4wP+TUbRWWdcvHAEwIF4r X1Nq72wyuMhekZIaEsMx0MawF5yeF3ga2srtRUvVKmkwtnMQT6MMFEENE3MmxGUygnMI 2KWun9mamkUh9XoDZvXaEDZWQEX43DFJw4B66Hip14yP66dfPs5+3xbL/ujo/6yGOXUR N6EBde16SK11gbua9icuWPPwIHk4YD3T9dH7eI56GlXZsY2a9SJP9QmKrpimTQM4XwaB L+Kzfg0D5SCZcaJDHiWhzPmHkG26le2rmvMcq0OvoyF1k7llALGH8xhL+Yfu2G4YhtMf os0g== 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; dmarc=fail (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 z24si2411437pgv.225.2019.02.12.06.03.39; Tue, 12 Feb 2019 06:04:07 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730138AbfBLOBS (ORCPT + 99 others); Tue, 12 Feb 2019 09:01:18 -0500 Received: from mx2.suse.de ([195.135.220.15]:34982 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1728126AbfBLOBS (ORCPT ); Tue, 12 Feb 2019 09:01:18 -0500 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id 62C4AAEFF; Tue, 12 Feb 2019 14:01:16 +0000 (UTC) Date: Tue, 12 Feb 2019 15:01:14 +0100 From: Michal Hocko To: Jiri Kosina Cc: Vlastimil Babka , Andrew Morton , Linus Torvalds , linux-kernel@vger.kernel.org, linux-mm@kvack.org, linux-api@vger.kernel.org, Peter Zijlstra , Greg KH , Jann Horn , Dominique Martinet , Andy Lutomirski , Dave Chinner , Kevin Easton , Matthew Wilcox , Cyril Hrubis , Tejun Heo , "Kirill A . Shutemov" , Daniel Gruss , Josh Snyder Subject: Re: [PATCH 3/3] mm/mincore: provide mapped status when cached status is not allowed Message-ID: <20190212140114.GX15609@dhcp22.suse.cz> References: <20190130124420.1834-1-vbabka@suse.cz> <20190130124420.1834-4-vbabka@suse.cz> <20190131100907.GS18811@dhcp22.suse.cz> <99ee4d3e-aeb2-0104-22be-b028938e7f88@suse.cz> <20190212063643.GL15609@dhcp22.suse.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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 Tue 12-02-19 14:09:03, Jiri Kosina wrote: > On Tue, 12 Feb 2019, Michal Hocko wrote: > > > I would go with patch 1 for 5.1. Patches 2 still sounds controversial or > > incomplete to me. > > Is it because of the disagreement what 'non-blocking' really means, or do > you see something else missing? Not only. See the remark from Dave [1] that the patch in its current form seems to be incomplete. Also FS people were not involved properly to evaluate all the potential fallouts. Even if the only way forward is to "cripple" IOCB_NOWAIT then the documentation should go along with the change rather than suprise people much later when the system behaves unexpectedly. So I _think_ this patch is not really ready yet. Also I haven't heard any discussion whether we can reduce the effect of the change in a similar way we do for mincore. > Merging patch just patch 1 withouth patch 2 is probably sort of useless > excercise, unfortunately. Why would that be the case. We know that mincore is the simplest way _right now_. Closing it makes sense on its own. [1] http://lkml.kernel.org/r/20190201014446.GU6173@dastard -- Michal Hocko SUSE Labs