From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3FE91C49EA3 for ; Mon, 28 Jun 2021 12:47:42 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 1AF6861C43 for ; Mon, 28 Jun 2021 12:47:42 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233003AbhF1MuF (ORCPT ); Mon, 28 Jun 2021 08:50:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41638 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232889AbhF1MuB (ORCPT ); Mon, 28 Jun 2021 08:50:01 -0400 Received: from mail-lj1-x235.google.com (mail-lj1-x235.google.com [IPv6:2a00:1450:4864:20::235]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CDB85C061574 for ; Mon, 28 Jun 2021 05:47:35 -0700 (PDT) Received: by mail-lj1-x235.google.com with SMTP id d25so25509296lji.7 for ; Mon, 28 Jun 2021 05:47:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=shutemov-name.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=ursImsAgaTR6zIVkoUjMNxEjW63HoZaM0yExGnPA+hA=; b=A9HeeZBytsdBt+1KdhCM8iMYlhjlcSmk3aSlcpPZfLvcQCszaafdjsRXs3H9qmus7S 0oGxiIJFMc6G/tavzG8BGuy/gShF/O6oCBC8FElceRBF0UM+/sxGD9a1+qYYsdRuMCgg Fq4QkgqMoFDiOL/x//eWp4q+0sOSSUcmDeinQ8T+i2OjR2CCg85bWOQHwp2pJxj5YNe+ x2Mq4dhrI72C0eeg6JofKANa8PT8TyH+7m17UjjuJvkRuwpFKoIwy+xryUsHBFw2ln8R Apz2LLOyVsGRtwMYzjpk6Ov/U8V6/4mBV6tpG1i1KOYNq5C0wCIhHuXbgE8cuQlW5xrZ Lt4A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=ursImsAgaTR6zIVkoUjMNxEjW63HoZaM0yExGnPA+hA=; b=DlIZR+XRT36Z4HPXtNM5BiQa4JDb/sVTs3KeM1snccnT+5qMCWfaiuaUx8+IAkaN0q sHq+r78xFQk0MtKhVotQCxfrpcdUKYkIh7ZHcRp92PUtzbJpF/wjpbWIIkxW1DKBuSNy Z4ppjeLidZ6HzRE8Itbc5eMa3lphyrN0DQkiwhUK+k7HdK0iG5LDsAn+4g0kBOUCoX9r OW4sDN7faoq0L8ukRZPMbUnEc2k3WGFeRvFcPUAyMGOhf9v4YpSE/M7p5WB6xEqrPrxI pAoJz0eDlywdtTP03xGx5MD73WtpI+Gv6XkgeetR4SlpO0J9Oery0oFgQOKjNKZLDE+G Fhzw== X-Gm-Message-State: AOAM5303Fg2ABv49e4ZZgMslHCVYlz72Z4fX/sQsTQAbEd+NX0B1hYK5 fvGD5dVxn9bZZeVdrwJVVasjcA== X-Google-Smtp-Source: ABdhPJxULJGp6xra6k3QCedA5kyzdSVv4Np6dSUQ0wM2xq9j7UdtgKnpSKQCIkzC5DaS+uKsQRQK1w== X-Received: by 2002:a2e:8608:: with SMTP id a8mr19894662lji.268.1624884454268; Mon, 28 Jun 2021 05:47:34 -0700 (PDT) Received: from box.localdomain ([86.57.175.117]) by smtp.gmail.com with ESMTPSA id f15sm1308952lfe.199.2021.06.28.05.47.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 28 Jun 2021 05:47:33 -0700 (PDT) Received: by box.localdomain (Postfix, from userid 1000) id 255AE10280E; Mon, 28 Jun 2021 15:47:33 +0300 (+03) Date: Mon, 28 Jun 2021 15:47:33 +0300 From: "Kirill A. Shutemov" To: "Matthew Wilcox (Oracle)" Cc: akpm@linux-foundation.org, linux-fsdevel@vger.kernel.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org, Vlastimil Babka , William Kucharski , Christoph Hellwig , David Howells Subject: Re: [PATCH v12 31/33] mm/filemap: Add folio private_2 functions Message-ID: <20210628124733.iumn4xg5iabojs7a@box.shutemov.name> References: <20210622114118.3388190-1-willy@infradead.org> <20210622114118.3388190-32-willy@infradead.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210622114118.3388190-32-willy@infradead.org> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jun 22, 2021 at 12:41:16PM +0100, Matthew Wilcox (Oracle) wrote: > end_page_private_2() becomes folio_end_private_2(), > wait_on_page_private_2() becomes folio_wait_private_2() and > wait_on_page_private_2_killable() becomes folio_wait_private_2_killable(). > > Adjust the fscache equivalents to call page_folio() before calling these > functions to avoid adding wrappers. Ends up costing 1 byte of text > in ceph & netfs, but the core shrinks by three calls to page_folio(). > > Signed-off-by: Matthew Wilcox (Oracle) > Acked-by: Vlastimil Babka > Reviewed-by: William Kucharski > Reviewed-by: Christoph Hellwig > Reviewed-by: David Howells Acked-by: Kirill A. Shutemov -- Kirill A. Shutemov