Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp2210546rwd; Fri, 2 Jun 2023 06:30:58 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6TkJDZ+sUsJLHH4flx7nqhPgpFswj5JDO0kggjfmtGF/ZtAasajR5o8vRhT8SS2ScunVL/ X-Received: by 2002:a05:6a20:e687:b0:10c:8939:fc35 with SMTP id mz7-20020a056a20e68700b0010c8939fc35mr8524364pzb.34.1685712658108; Fri, 02 Jun 2023 06:30:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685712658; cv=none; d=google.com; s=arc-20160816; b=QRbwBIm8cf+kUkP6t1kcV8gmXW1YU5bFmXuS58ng4CSkAV+3Nviu2ACtb7Cr/xAbhl oNsesuHu1iQF4D72HuTOth4x0dnVRA99eE8WoXOL05AT0N93XA/1R3wI0/JMVFFLL4+6 nnLGIsl4lqI7GWavkPlgVAHZIUmLOpYj8zhEbslGCYea2SZqK6i/FSPoiCUf8q0qPxho nvRjjydhFppmb7TIUfl+rW7+cf9xozhKWYcMfkZ1aGw833G1IZ23RKlLCNtxGt6Flswk Hmrhm6yg1Ga4jAGWszj7TzV2sImPohDLrFk4jcK95Qd66BTX6xT0AXUiBlsAvw31YbKl rBDQ== 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=OrjUWUYvHqgbr6eJdwKbyZZAn2Cy8oIlyhQKRE4hSB4=; b=EtLyPWuVABKVgHsHIP6Lj2gsI5brOV6zHLrUTeK728ZjRISFXseYe79uqSc47Q0qMP czSqONsKaMnRY/24h1E/yTTrOWy/nH2KjVG9g6/g7+aR4DS89++ZOMNWW7DNIMK+LMle /BVD/iL5hIj6aEzhyrwdmSIQYLqAd3LxwZZOeRxktgPXn3eMOUX1iaxlm635QC6bNPxo 3RU6bBi9v+GOT4xdt4buD9rAoUxTmk2ENBO6ZtN8ECt5Quh1R93dOXjUOkOVjaaKCW4R 106U1cKmshCekffLhAiYHW2EIYHXCadtvqLAW0a8Y8KulzKHy2QB6ycA7vhb2X6M4r+i BqHg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=sQvQJR2l; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id w4-20020a656944000000b0053ef547263bsi922785pgq.165.2023.06.02.06.30.45; Fri, 02 Jun 2023 06:30:58 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=sQvQJR2l; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236088AbjFBNST (ORCPT + 99 others); Fri, 2 Jun 2023 09:18:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35828 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236086AbjFBNSR (ORCPT ); Fri, 2 Jun 2023 09:18:17 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B808BE43; Fri, 2 Jun 2023 06:18:05 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 2F82262660; Fri, 2 Jun 2023 13:18:05 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 87F0BC433D2; Fri, 2 Jun 2023 13:18:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1685711884; bh=P5Dc29mxMGV428PPMJZilBV2F/4XqbL5kx2gF5NwrrE=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=sQvQJR2lrQhcWaforw0/Bh3AIx4bMkLCS8067SVYMMH9ml2X+5/fHWDlArDX82LC0 6bUVDnL5sR+4foxZ+Ood383frthkLp+wvOA6MGjj4FwEqbbtMemoktaTtCHgGvI8Kb 1h9q+m5FCUHptAEDMn2KsGZC9OiR+pBUta63YRJLyeLLZ4MgUaxgcP3mj/HKFVsdW/ DSYVBtpkFyDZbDmbXAzb5PT+94gCBYmwA1dau5Zia8Y+4VHOr8pWe67E+sz2E2cNmH vovJ+0fKZvf7Ezu6Kcm4MwlOPrvof9c12mPCCsNPkEGEK3+v+NLT6oNeqpZdgpAVjZ QRsF4kW6NLrTw== Date: Fri, 2 Jun 2023 06:18:01 -0700 From: Eric Biggers To: "Fabio M. De Francesco" Cc: Al Viro , Andrew Morton , Dave Chinner , Christian Brauner , Chen Zhongjin , "Matthew Wilcox (Oracle)" , Alexander Potapenko , Andrey Konovalov , Bagas Sanjaya , Jiaqi Yan , Tony Luck , Peter Collingbourne , linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-mm@kvack.org Subject: Re: [PATCH] highmem: Rename put_and_unmap_page() to unmap_and_put_page() Message-ID: <20230602131801.GB628@quark.localdomain> References: <20230602103307.5637-1-fmdefrancesco@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230602103307.5637-1-fmdefrancesco@gmail.com> X-Spam-Status: No, score=-4.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jun 02, 2023 at 12:33:07PM +0200, Fabio M. De Francesco wrote: > With commit 849ad04cf562a ("new helper: put_and_unmap_page()"), Al Viro > introduced the put_and_unmap_page() to use in those many places where we > have a common pattern consisting of calls to kunmap_local() + > put_page(). > > Obviously, first we unmap and then we put pages. Instead, the original > name of this helper seems to imply that we first put and then unmap. > > Therefore, rename the helper and change the only known upstreamed user > (i.e., fs/sysv) before this helper enters common use and might become > difficult to find all call sites and instead easy to break the builds. > > Cc: Al Viro > Signed-off-by: Fabio M. De Francesco Reviewed-by: Eric Biggers - Eric