Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp4434258pxv; Tue, 20 Jul 2021 03:48:16 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx/qSv3KgiE0z20NXM4ikTRxGqstEGyqvcHKVanMmpAdWNwCqr4DriDdTGZ91lw8heuHayZ X-Received: by 2002:a05:6e02:dc4:: with SMTP id l4mr21164458ilj.94.1626778096203; Tue, 20 Jul 2021 03:48:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626778096; cv=none; d=google.com; s=arc-20160816; b=sCjK6vig111Q4VvyI2cU+0uRC4JCUkcx9U9hS/+agK0cg/NNmw10pDH46KlFm5w9rT 4K77QzXfVgqfhPXrAPsk31ZbIkBFMC+Yu71FFpWu7n4u6mG5hdY2lGtMkCi7Kjoxk2IC umRTbgmMjT1Xw5khfb/u7UtFrNbfQAf6I2tRS1HKUGo6dNO8N1KU0uvmaRLfCwsV0ZzL LjbmkNkIChh+tGGlEVpdPoyKvXyzYLKMXUxBPDa4evCPeA6GBdq8lRcgJxC69ixcyWlY xS02gstQ+dj6NPqQ9eebL9QnuY3imJ2rTek1+4Tk3vCPpydQ2qO0uO0LxdKlYWE8u7T8 mLEg== 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=opbvLr7Ci/kEzzPWSFjPJu44Hcwd6ejRNT4B3QBfWQ0=; b=baDPT/h2EAspgFVu0MUZLOPzN0m1notKC5AxnXZqivdvMJwIpcq2kuyj5dr0a41YjG WcfXE8njFyVAaLD08TTZC9Ev2i5ASQy7FIDB5KCLTqshR/FWgqoWASU2CXbkSLLGdX2/ 0PImNwTxXSnRkpYZfGhh6sw1GIe5U6PBk1QVLuUeNZm2BhFWP01AvlJTjuQ+UhudG8fw GIRxTjASdPzDndj0wbqNBJLV+NQm6SzeB3N4ChV2ZmH/ohBazn/1x3OptGqLktaOxjEx 3np3X5bc6oc+T2TSEFsTvRmSeLRCTn+Vl5hzVr43SfSOSxnCvEs62FolmSOye6BdE8CG 9JRQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=CjTycZ7N; 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.48.05; Tue, 20 Jul 2021 03:48:16 -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=CjTycZ7N; 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 S237819AbhGTKG1 (ORCPT + 99 others); Tue, 20 Jul 2021 06:06:27 -0400 Received: from mail.kernel.org ([198.145.29.99]:33590 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237147AbhGTKAY (ORCPT ); Tue, 20 Jul 2021 06:00:24 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 5868861164; Tue, 20 Jul 2021 10:40:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1626777662; bh=4s1TWTt76qRpgxqGLG3ECURvPwDdmde2L0cc0V1Nzl0=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=CjTycZ7NrG/8A653VSiTI9QzOUgubyNpeVz8ztAnXS3/sD+TsdymCG5YBFngHjko/ 0vU1hiHB8yINU1COiLepq4MbCkgTmKIWY8FfJ0H+POLFYCKEnQrRlZiLduxvn5cpg2 Aa7iybfoRMX2f77TU/NBYdek6pqPbWSC2PiUnqCUWx/HVsBwwKlG/LEAjyBC1i7h6S jP0WcsBWpoi/GVrDr1Dc0etIWTFRi3zr5qEDw2RxN31bxTlYP4LyDg1wB51gxfOovx UNZp5FuwPuibM7MzcEc7Fj1+0qJvIXY6+7KMD3XHBzVipjdREOWh+Dkiw5z0Zf/XiN blTR8T0zlJG2Q== Date: Tue, 20 Jul 2021 13:40:55 +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 004/138] mm/vmstat: Add functions to account folio statistics Message-ID: References: <20210715033704.692967-1-willy@infradead.org> <20210715033704.692967-5-willy@infradead.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210715033704.692967-5-willy@infradead.org> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jul 15, 2021 at 04:34:50AM +0100, Matthew Wilcox (Oracle) wrote: > Allow page counters to be more readily modified by callers which have > a folio. Name these wrappers with 'stat' instead of 'state' as requested > by Linus here: > https://lore.kernel.org/linux-mm/CAHk-=wj847SudR-kt+46fT3+xFFgiwpgThvm7DJWGdi4cVrbnQ@mail.gmail.com/ > 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 > --- > include/linux/vmstat.h | 107 +++++++++++++++++++++++++++++++++++++++++ > 1 file changed, 107 insertions(+) Acked-by: Mike Rapoport