Received: by 2002:ab2:1149:0:b0:1f3:1f8c:d0c6 with SMTP id z9csp2621970lqz; Wed, 3 Apr 2024 03:55:45 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUOdpyqseOyURtIDGJXLD8zY29C0cEY43rTtQi8bdXlcx657x9HFbAz1ns3AZzuI2u0yurG9RWPWHsXDODsJ7l5hiS8mvkH3zrlKDRBdg== X-Google-Smtp-Source: AGHT+IGNGw/qM+gJCC4w08mV7Nb5L6OC5OVeg4AWfGD+DWhhobIB3E//wHfU47BO+vQ4R2LdIozq X-Received: by 2002:a05:622a:30a:b0:432:f63f:cb87 with SMTP id q10-20020a05622a030a00b00432f63fcb87mr2560193qtw.59.1712141745337; Wed, 03 Apr 2024 03:55:45 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712141745; cv=pass; d=google.com; s=arc-20160816; b=LnnBxIBjLN9EEh8+BVNHKATYiJRnozq8GusbBM29VeZWn0sOqt15OetO+4Q+Zpq+6R NC72hcSsOZmbk2j1wQYtILRh1B7mg857qfVSMKZB64Qx+1ynwjSeYNZMidmkqQRqojAW AtQipi18Cx6Lqc7GRdDwLe8EpHZ++iB4bjB/cQHkdzY8k9Ge1l8y1Qae7ZKqCpif5t55 GsJNYfKLXaBveyvtkyEYlhR8enboKejiNimEeJzg4RWUxQKAuGTxUwTMfm8f15Ht7L57 X8687E+i7OVEL6jg2TNVWkE1Bx56ryPeUt130bNb7voLDdESS9BgG87/nVDaRVz7aUQx HeIQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=message-id:date:content-transfer-encoding:content-id:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:subject:cc:to :references:in-reply-to:from:organization:dkim-signature; bh=JOHdI5+Rm0qGsBNAwcaXDe1QoVGd2FuT8Hymhfhq4nw=; fh=OTg2WMHJtOqcpGTWyrCVDzG+wPN5q7xsQc52pUkpGv8=; b=eE/gQGXReSEuBEsqPoCnhy0skOrM2fyqLfhJy/VRHX0ts2Akz+hw7pFpcBbGMvD+ua yZTDcODhv+iNTQjNUjWuWxtE3jmY5ouWTKfspXVQ3Q/WP43gFP1YOXMoHoDVxLFjcwYQ MsfeKFGKLePlsrudXk7YEcyoYrLzBrPRtWgz5AyXVGTnPZec+6wouCKIYLsgdrfQLBwF ituxIRZLIY+HZrbNWjRmTVbMGSVVjhuccKZlVMQnquWdKK58FSOhbUqLzEDQuOQ+nZJV 0W2WBHFirQJVyGTdcfNih8P+Ar3FWEVU1VVh0la7jqSv2OgC4V6rczVCmDPxWGAJHG1b JTXg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=RgLvvZIl; arc=pass (i=1 spf=pass spfdomain=redhat.com dkim=pass dkdomain=redhat.com dmarc=pass fromdomain=redhat.com); spf=pass (google.com: domain of linux-kernel+bounces-129615-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-129615-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id f19-20020a05622a105300b004343c23d2b5si2792288qte.686.2024.04.03.03.55.45 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Apr 2024 03:55:45 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-129615-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=RgLvvZIl; arc=pass (i=1 spf=pass spfdomain=redhat.com dkim=pass dkdomain=redhat.com dmarc=pass fromdomain=redhat.com); spf=pass (google.com: domain of linux-kernel+bounces-129615-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-129615-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 09EB11C20A0F for ; Wed, 3 Apr 2024 10:55:45 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 46F1D14386D; Wed, 3 Apr 2024 10:55:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="RgLvvZIl" Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 09992142E75 for ; Wed, 3 Apr 2024 10:55:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.129.124 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712141718; cv=none; b=qRnIdCrtM1yPqJI9IjjrRB4J8hIuxylmhoa3bC8Y1Yy3Ken4uQGODuKjvfHgjxaJSabAr7VY8lH2tMGiP8ZOdgGWHHuIjG7K6cbwuSHSNw4kNOtscW1tSJ/BcwV1MunPPLphq+pqALBsNmcOYzjk7Qf+nTnqZ1F4PZkOiCsEY7A= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712141718; c=relaxed/simple; bh=ACQpn9vs7GeKGUhlQvB3CXp7C7P0aciqvgBCFb4+LHI=; h=From:In-Reply-To:References:To:Cc:Subject:MIME-Version: Content-Type:Date:Message-ID; b=QnWoA1N74nuw1EyLNJ6R8f0osnDnIQYCfYxn0UogMgHC5mFyZDCExRbgmT4BCflYV7+Fx/5fVasCn6vZNr/pEK+Thx3z6VQrB4ZOlv3j9PuSG9QiA22nsGkZMepQ48qOTn0PNCyak8zuqFtHqLQ5cWVHnkN5rhvBVoS0pOyl4lw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b=RgLvvZIl; arc=none smtp.client-ip=170.10.129.124 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1712141716; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=JOHdI5+Rm0qGsBNAwcaXDe1QoVGd2FuT8Hymhfhq4nw=; b=RgLvvZIlbsdYPcjXswfc0Dlh5O0K0303/AG0UrcjEBE96OIs77Z4F4M6DXjzgckz+wglp5 7c/lTqy83XRr5s1mDPzOJ0kZU/PTjUyaQZ6d4YP7gPUix/jLcZVjqpWXaPJQ1LKqUnbMcd YlM2YwzQcBuTkTW6Zj70Dnmuort4FYk= Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-691-XFTgKXIOOraQHI6hCfH_XA-1; Wed, 03 Apr 2024 06:55:10 -0400 X-MC-Unique: XFTgKXIOOraQHI6hCfH_XA-1 Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.rdu2.redhat.com [10.11.54.8]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id D0A868007BB; Wed, 3 Apr 2024 10:55:08 +0000 (UTC) Received: from warthog.procyon.org.uk (unknown [10.42.28.146]) by smtp.corp.redhat.com (Postfix) with ESMTP id 97C6CC1576F; Wed, 3 Apr 2024 10:55:05 +0000 (UTC) Organization: Red Hat UK Ltd. Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod Street, Windsor, Berkshire, SI4 1TE, United Kingdom. Registered in England and Wales under Company Registration No. 3798903 From: David Howells In-Reply-To: <20240403101422.GA7285@lst.de> References: <20240403101422.GA7285@lst.de> <20240403085918.GA1178@lst.de> <20240328163424.2781320-1-dhowells@redhat.com> <20240328163424.2781320-16-dhowells@redhat.com> <3235934.1712139047@warthog.procyon.org.uk> To: Christoph Hellwig Cc: dhowells@redhat.com, Christian Brauner , Jeff Layton , Gao Xiang , Dominique Martinet , Matthew Wilcox , Steve French , Marc Dionne , Paulo Alcantara , Shyam Prasad N , Tom Talpey , Eric Van Hensbergen , Ilya Dryomov , netfs@lists.linux.dev, linux-cachefs@redhat.com, linux-afs@lists.infradead.org, linux-cifs@vger.kernel.org, linux-nfs@vger.kernel.org, ceph-devel@vger.kernel.org, v9fs@lists.linux.dev, linux-erofs@lists.ozlabs.org, linux-fsdevel@vger.kernel.org, linux-mm@kvack.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 15/26] mm: Export writeback_iter() Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <3300437.1712141700.1@warthog.procyon.org.uk> Content-Transfer-Encoding: quoted-printable Date: Wed, 03 Apr 2024 11:55:00 +0100 Message-ID: <3300438.1712141700@warthog.procyon.org.uk> X-Scanned-By: MIMEDefang 3.4.1 on 10.11.54.8 Christoph Hellwig wrote: > On Wed, Apr 03, 2024 at 11:10:47AM +0100, David Howells wrote: > > That depends. You put a comment on write_cache_pages() saying that pe= ople > > should use writeback_iter() instead. w_c_p() is not marked GPL. Is i= t your > > intention to get rid of it? > = > Yes. If you think you're not a derivate work of Linux you have no > business using either one. So why are we bothering with EXPORT_SYMBOL at all? Why don't you just sen= d a patch replace all of them with EXPORT_SYMBOL_GPL()? David