Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp4432987pxv; Tue, 20 Jul 2021 03:46:06 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzmMU+QHr9KG9lGvk+ycZdIk1F2pD8W3PV/OyuwfbrO0XETy2zhd2+XNdCPBwmp1WWt6kGU X-Received: by 2002:a92:3f01:: with SMTP id m1mr20779543ila.122.1626777966682; Tue, 20 Jul 2021 03:46:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626777966; cv=none; d=google.com; s=arc-20160816; b=LM986UL+yhfr2FYs86xcUrpccXgbn46bZSdyNdYhfDWe/gs20DyyuRkzLW4P9Fp5P1 j2Wfkw5bXTZmgyWz92MypjWCHI3pVNJLGFUbP9bB2qv3664pifVM724Ej7LH8APCN0r7 2Wij8pqHBnpqrJ846kkTGf6TzNLPBtWy5lSMY/3D7BKrcjgTk2gESGOY4fQ8aURU/uIY 7PVPMmkLbhESJwPo6SUp1h+DILaNOlImpEXT9QVf0gdbE5atEjcZBEn1XoM1kfKOvHxE 056kZ/qf6ftQgGYI1pcCKVX6Wm9TfNQ5VHaelB7LM0l2adNgAVDr4IuGEvJTQ1ho5bMl qsHg== 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=rivjgmBN+wrzqS5ExnmlX3sI/VahxO3J7yfR+Xwk99U=; b=LfIOzDNKMOpf2TGWYDQmii7mtd9tU3eOIlZj0ezRWmJ2hKVotlR91xLzcjIp05aZwf vEoZLkIurXVbRpDZcValTizeDIS+FHX3haUXT7tDIBmD9nQN0PDFT6Arm5ORrHDmy2Ne vNuhtjxHA/Zp/Pa4pgtulAFRO37JCjdOnW1Gx2BbewydEkQR3SU80OlV4FopDSGcskJA piwdk9fvip45q9lM0UwUZTBNocm15XCcphl3TOT85FrRogx+wAuFPHgyt1fAfG1TUxMW rn3MQNsD7N58IFAXujUihzaUaotiko4NNNV/gMcuRNd8DKQ9PnRLcnKYg5NXF9C7OD0z E7QQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=G2f8RCGW; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id c18si25226833iod.12.2021.07.20.03.45.55; Tue, 20 Jul 2021 03:46:06 -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; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=G2f8RCGW; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237587AbhGTKEI (ORCPT + 99 others); Tue, 20 Jul 2021 06:04:08 -0400 Received: from mail.kernel.org ([198.145.29.99]:33666 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237372AbhGTKAh (ORCPT ); Tue, 20 Jul 2021 06:00:37 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id D117061186; Tue, 20 Jul 2021 10:41:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1626777675; bh=ZbqPI2nz1jfF7wfeS228C/+/xihGTDZcfi1lFpp7wMc=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=G2f8RCGWJnyFuxT4NGfUMI/CRpMolP4wywW0Ki+AxOOQ/UKujeNsOt2p6F1dWZQuZ 7+/tKrfLGZhUOxWaI48FAvpEwJ5ZrMjMgd+dApPSSu1iaR+GeEvHsmEmYZBoF9De84 /IHdYe9nJTARZ6Y/0upP/ewxVG4wYc8/jCt+cRZcCZsalHiJnD7kBDAeZGq8EG0Kqo x0KOmRLGDRMRdCw2M8ryRylTRSPKcawVYq2WCqJsox/s2/QrrKPGDfqQYxziCNCHry 5LWIiHHvJQggcgaC0GRR35C6xp6fFHenY0CnVlDvaD9MNRJksE1edjfUgiI3LgIuo8 kdDCWAct+sWSA== Date: Tue, 20 Jul 2021 13:41:08 +0300 From: Mike Rapoport To: "Matthew Wilcox (Oracle)" Cc: linux-kernel@vger.kernel.org, linux-mm@kvack.org, linux-fsdevel@vger.kernel.org, Christoph Hellwig , Jeff Layton , "Kirill A . Shutemov" , Vlastimil Babka , William Kucharski , David Howells Subject: Re: [PATCH v14 006/138] mm: Add folio reference count functions Message-ID: References: <20210715033704.692967-1-willy@infradead.org> <20210715033704.692967-7-willy@infradead.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210715033704.692967-7-willy@infradead.org> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jul 15, 2021 at 04:34:52AM +0100, Matthew Wilcox (Oracle) wrote: > These functions mirror their page reference counterparts. Also add > the kernel-doc to the mm-api and correct the return type of > page_ref_add_unless() to bool. No change to generated code. > > Signed-off-by: Matthew Wilcox (Oracle) > Reviewed-by: Christoph Hellwig > Acked-by: Jeff Layton > Acked-by: Kirill A. Shutemov > Acked-by: Vlastimil Babka > Reviewed-by: William Kucharski > Reviewed-by: David Howells > --- > Documentation/core-api/mm-api.rst | 1 + > include/linux/page_ref.h | 88 ++++++++++++++++++++++++++++++- > 2 files changed, 88 insertions(+), 1 deletion(-) Acked-by: Mike Rapoport