Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp2867369pxj; Mon, 14 Jun 2021 08:57:19 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy1odK928O0eQ6msKxsyw+/6c5Xbgg5oN97hoH/fkYcfYTZ6fv3SGoPxlVybayAZsMoQcAh X-Received: by 2002:a17:907:779a:: with SMTP id ky26mr15800816ejc.293.1623686239758; Mon, 14 Jun 2021 08:57:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623686239; cv=none; d=google.com; s=arc-20160816; b=VFWwg4jCP6MR4pGPhiCENNKZh8H37BPtcy9ghzy/JZVUU/KsB2J2RAp04obgMv9/bR W7ARKUaU6StWXEJCRKjrCAd8cewJISiLFjTxl1QHf8b8SWftQWJysFhgS6wmLY12uLTG az3UmRRpxaCa5q5EHLG9H5WDdk3WjVU1rPlILgrv6jhE4LhfaCkXC/X6Zs+mR44R6a92 81n1/1ZlW6WYuX9WYd+xK/TGIq0WMJG86ghEX59X3iu2BnWlWhkHxiNA2rMKxf1gNSeC 6QnbAXysgZK/TbvcfIzaFMMIrnicTc+XFhr64cnFuXOkMrMfK6cKxWz7/GJMEBs2RLy2 muXg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=rWvLujAQX9U8gHpknC6JAe0rRdHIqRfeCZUXMu4QuX0=; b=0135moy7GUhUzpYhgi9rG8VMTPXAix9QB2eyW2h2Fj+Pbw7M54bIcMIIK0fPFKd2q/ VnV8eE7aBCFvON+dtzRXGL1BLQJFP00rGP5R4BRyO8voxQYqIwrbKY5OTGOH42XeDpY1 Bug/gwQj7lzJj7ik1rzXe+eSNLUhLYR7eVuhGGIL+ekW5/ZLqP2WidshCTzkqlypOZWl Y1QdS1iYDWIMfpuP5JT1O78mKqUMLS0kaKQm/uuqEled7+r0mn2Xpb11BT32ASg9Emt6 IoEq9oCoV1K1f85/6PMRSerWXjQs4/y7mpqjIwHND9evQStOAQdtMRTdGFBGi3onB7GB R09w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id by10si11049913ejc.493.2021.06.14.08.56.57; Mon, 14 Jun 2021 08:57:19 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234401AbhFNP5h (ORCPT + 99 others); Mon, 14 Jun 2021 11:57:37 -0400 Received: from verein.lst.de ([213.95.11.211]:45105 "EHLO verein.lst.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233222AbhFNP5f (ORCPT ); Mon, 14 Jun 2021 11:57:35 -0400 Received: by verein.lst.de (Postfix, from userid 2407) id 330D768AFE; Mon, 14 Jun 2021 17:55:30 +0200 (CEST) Date: Mon, 14 Jun 2021 17:55:30 +0200 From: Christoph Hellwig To: Matthew Wilcox Cc: Christoph Hellwig , Andrew Morton , Jan Kara , Al Viro , Greg Kroah-Hartman , linux-mm@kvack.org, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: remove the implicit .set_page_dirty default Message-ID: <20210614155530.GA2563@lst.de> References: <20210614061512.3966143-1-hch@lst.de> <20210614155333.GB2413@lst.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210614155333.GB2413@lst.de> User-Agent: Mutt/1.5.17 (2007-11-01) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jun 14, 2021 at 05:53:33PM +0200, Christoph Hellwig wrote: > On Mon, Jun 14, 2021 at 01:23:22PM +0100, Matthew Wilcox wrote: > > i have a somewhat similar series in the works ... > > > > https://git.infradead.org/users/willy/pagecache.git/commitdiff/1e7e8c2d82666b55690705d5bbe908e31d437edb > > https://git.infradead.org/users/willy/pagecache.git/commitdiff/bf767a4969c0bc6735275ff7457a8082eef4c3fd > > > > ... the other patches rather depend on the folio work. > > Yes, these looks useful to me as well. And in fact I suspect the code in __set_page_dirty_no_writeback should really be the default if no ->set_page_dirty is set up. It is the same code as the no-mapping case and really makes sense as the default case..