Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp4434801pxu; Wed, 9 Dec 2020 17:44:52 -0800 (PST) X-Google-Smtp-Source: ABdhPJwsT5ZTBF70nFjFPkMl3ALm05rIOoT/WrNepwa99DZ+kCRYrEhnkIOkjlYZ8g9zARqBDcfh X-Received: by 2002:a50:d2c8:: with SMTP id q8mr4365482edg.375.1607564692545; Wed, 09 Dec 2020 17:44:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607564692; cv=none; d=google.com; s=arc-20160816; b=QFdzIdC8WeWDcMliXTX71gHhYYmMKhMmOHS8OCQBpVOTd6WggfFaZqZqGjWP/orijh 503X/aqRpLj97PG0nhWs7yU86X685U3OWCr/ftEqiIGB6EGBDDkf6t7nMmru9Fa3HuKA P5uba6OD0MHnvOCrgd8p8xchR3ZXkHfALv8v/RUePB2ir3MrLgYafV1GacdeIZlg6Y0Z 1+dtl0bel0AI2etNHyEXQYbgUAkWT3pK1r7LzUVWNm5hJDvFtTMAzqov309JTB4otUyr wLUYn51sNdasZOMfwIavydvoVBEMMvlSpj2H/TuXReY7HBNIrz3sqLVkvVfMBgVDAIZI 4K5g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=KmfM0dz9aaWaeZPra6pVjVS4g9ep1l744z/4R96Ui3M=; b=u/lMKlZ5f/mCIDJUwrf8UxAiF3rj3IC3d00qvFIGAepx3W90lmLGP8J7h8Y8/+Y+zr ONEZQKGMRxiie5KUjg3pr+fM6UG2XeVVXkA6F1VAhWAgqHfFm1K4VDxmWfjb307hVYAm lV2G6UKsOJePdNYtqyFk0v2CkjVIyJnW7v4ssgqp51iFiOsWQNVydWLrs8SfreQZmsn+ 65JVLL17U2xsxJhPZQkL8cIsexGZDwn7b2pc8CZm9G5l5BkFjYGMeX/47ykgqpBzlcTz FzHlceOE8xkiNo06IX4VtZgeUqo4fypj41TYDpUIOlm/8TDe+d2eaRch4AT3d4ZPjSur dvag== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=fKfdu1e6; 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 p23si1684380ejm.470.2020.12.09.17.44.30; Wed, 09 Dec 2020 17:44:52 -0800 (PST) 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; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=fKfdu1e6; 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 S1728249AbgLIPJP (ORCPT + 99 others); Wed, 9 Dec 2020 10:09:15 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42562 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726660AbgLIPJP (ORCPT ); Wed, 9 Dec 2020 10:09:15 -0500 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3B518C0613CF; Wed, 9 Dec 2020 07:08:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=KmfM0dz9aaWaeZPra6pVjVS4g9ep1l744z/4R96Ui3M=; b=fKfdu1e6Ef5Bpq8BX9sCBr+tUY M4m9JESfmi+ue+BUSliO/MnXrGCgke/bHGWZAminabL+uWeZpoYPeUESXedSSW6ZYg5G2t6QGAwfQ UGGGVW0ubs7ikPD74DUhssG/PYrOUtoPU6imLXFH4klaVVqblTH8W32f7bM2KIwnmTbUPdgx3ku8L H4Zi3RtjNol5wuHqTHF+vY9IXtZ5cyexGKG3QIRezCDMdfzj6j9qzQZAQxikeBw/IDZdBcF5TYL8I p0d3USXWXkdaEAjeaLxSrg6OYxEffWrEj3efEqKLGBPp01AUvk95tFgAeFS07cDh8Z+eMLXptis4T oNeMutpw==; Received: from willy by casper.infradead.org with local (Exim 4.92.3 #3 (Red Hat Linux)) id 1kn14s-0005Hf-Kd; Wed, 09 Dec 2020 15:08:26 +0000 Date: Wed, 9 Dec 2020 15:08:26 +0000 From: Matthew Wilcox To: Stanislaw Gruszka Cc: Alexei Starovoitov , Michal Kubecek , Justin Forbes , bpf , Alex Shi , Andrew Morton , Souptick Joarder , Linux-MM , LKML , Alexei Starovoitov , Daniel Borkmann , Josef Bacik Subject: Re: [PATCH] mm/filemap: add static for function __add_to_page_cache_locked Message-ID: <20201209150826.GP7338@casper.infradead.org> References: <20201110115037.f6a53faec8d65782ab65d8b4@linux-foundation.org> <20201207081556.pwxmhgdxayzbofpi@lion.mk-sys.cz> <20201207225351.2liywqaxxtuezzw3@lion.mk-sys.cz> <20201209144628.GA3474@wp.pl> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20201209144628.GA3474@wp.pl> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Dec 09, 2020 at 03:46:28PM +0100, Stanislaw Gruszka wrote: > At this point of release cycle we should probably go with revert, > but I think the main problem is that BPF and ERROR_INJECTION use > function that is not intended to be used externally. For external users > add_to_page_cache_lru() and add_to_page_cache_locked() are exported > and I think those should be used (see the patch below). FWIW, I intend to do some consolidation/renaming in this area. I trust that will not be a problem?