Received: by 2002:a05:7412:1e0b:b0:fc:a2b0:25d7 with SMTP id kr11csp794831rdb; Thu, 15 Feb 2024 16:14:53 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWw89N+RL5uGKTHqzNP+vJ3M73FPN0nDR27HdEBMDZld+twvDsnh8fpq/Rx/q+HQx74a2WBb71ZZ2BOChVAZov22uWimI654fn+ENZXqw== X-Google-Smtp-Source: AGHT+IHFh+hJ/0FrYy2bxOJn8zRFYcNEAfjVKbqIeOsm5P9hFwWN5XMIHlSIoRR7b6hLIQaAKPkG X-Received: by 2002:a17:906:b0ca:b0:a3c:e8e0:3ef3 with SMTP id bk10-20020a170906b0ca00b00a3ce8e03ef3mr3033053ejb.1.1708042493392; Thu, 15 Feb 2024 16:14:53 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708042493; cv=pass; d=google.com; s=arc-20160816; b=E96algZpCI5IzTUOH6TOwXrK1OQebwWw097zSOaexAljnbqyKlQkASS0JM4jLKZsSg sQbBE+/7DtkXlyZpP6PO3PRwVdyumTwyoce1iumgYH2EESihKC4Rn9K1Apzj8GSugHr7 FMhbQpeh9eeibNrrhC38p5m8w9Xvv2/mXeuFf9ZDe/9I5wd8GYBtJFGmyvu/6/uMoNUR utCk5XArEqBBNBEuEIPQWhf9TuEWAiLr1Q11eqdnC7MW5zlKof75AEyycEq2U2bj/EmH iKpiVmIp+QzkhIUAHhOIWTlAbTR25ic093g/5cGCJrCaXjaWDDXlR9Vt5dOKd9bWYV2k hspA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :subject:cc:to:from:date:dkim-signature; bh=8459CvzrorfNe/cHAzd0ENqIMMQm58MSFuttK55PuAY=; fh=M3uCrb1EvPdw2fVkT4szXht0bRxaiKFPsPfrjTIWjGo=; b=syDK0AXOeuRVmoee9WR0U4jDOqqtZUtiTQSOH8Q/NE1hL0aMwfB7fujQ5MQjQgvXRW 6BG3sHtVBc6+AsEQQ7ngj9E3YlS6nZSy/xf3hoqjwPrQvRiSWJ/kjbgFsid56skNoswt i2ryNmbUprx7LMTV5ePW/8ge8yGhoAWf+/OJTPLtLzcdhQkbfpmmNcUQRflvGsoWeL6y aQv1WGfNnFhGhDaVpW8Oy/sJQ4QK5BTpv4cmvY9rOqGXp547gjMUiWb3j38558qkOrp2 Wme64w4xmTn9//qwAv8twRNITc4RX6o06tNnjxbaudG7QEtiCWk8d59qVKgTNj9o6gKe NJjA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=korg header.b=NmuFr7oc; arc=pass (i=1 dkim=pass dkdomain=linux-foundation.org); spf=pass (google.com: domain of linux-kernel+bounces-67885-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-67885-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id ch20-20020a170906c2d400b00a3d6ceeb8ebsi1077316ejb.894.2024.02.15.16.14.53 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 15 Feb 2024 16:14:53 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-67885-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=korg header.b=NmuFr7oc; arc=pass (i=1 dkim=pass dkdomain=linux-foundation.org); spf=pass (google.com: domain of linux-kernel+bounces-67885-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-67885-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 2369D1F2551E for ; Fri, 16 Feb 2024 00:14:53 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E1F744C94; Fri, 16 Feb 2024 00:14:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux-foundation.org header.i=@linux-foundation.org header.b="NmuFr7oc" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id ECCC1320A; Fri, 16 Feb 2024 00:14:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708042484; cv=none; b=LqKkqju+PWdzbEIai+0FfCo2or/GirgB5DMGzDaOj2msLPGTAqmlki2qTn4GFnC+fvwy0o2bhLB5eT/TujHf1/iRGTEHvxOFPwJkVKYVSInfxkI431aLHuT/MJ2G5PKKK/SW0uxHP7W7DNZ3yXAT9kEbnHNK0sKtJ6QZw/bFLDQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708042484; c=relaxed/simple; bh=8459CvzrorfNe/cHAzd0ENqIMMQm58MSFuttK55PuAY=; h=Date:From:To:Cc:Subject:Message-Id:In-Reply-To:References: Mime-Version:Content-Type; b=aoOQXz4IWy8j7t1Xp4GJ/X1UL3g8GnB4He5mKjTytTKOIxcyO7wqiTM7bcUpyZMrCzApIjINTw278t1LPsbv94w86ZLbgO5sN0EKqoGTd4DRDwxsaLmwT+0kR7R8hOHbDutXQaZ727fJm195jKuJ+8UamuGGOZDRemEIC3+DwtU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux-foundation.org header.i=@linux-foundation.org header.b=NmuFr7oc; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 65C5DC433F1; Fri, 16 Feb 2024 00:14:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linux-foundation.org; s=korg; t=1708042483; bh=8459CvzrorfNe/cHAzd0ENqIMMQm58MSFuttK55PuAY=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=NmuFr7ocD51+UfkvZDHdvyhHagtotjPmkxo7YcRAWBCFwI6mcb1Dk8SCHmgCXuvdB n0AX/l1ga0WmPPMZCUeBERXcafl8pl0yCjOhZDCFHuAUl6NY44ayokHvZqWCiY91PU uv3zTNGTY0GhIcYj/dVFAIW1OmfzQsp3zc+0Nm5E= Date: Thu, 15 Feb 2024 16:14:41 -0800 From: Andrew Morton To: Sourav Panda Cc: corbet@lwn.net, gregkh@linuxfoundation.org, rafael@kernel.org, mike.kravetz@oracle.com, muchun.song@linux.dev, rppt@kernel.org, david@redhat.com, rdunlap@infradead.org, chenlinxuan@uniontech.com, yang.yang29@zte.com.cn, tomas.mudrunka@gmail.com, bhelgaas@google.com, ivan@cloudflare.com, pasha.tatashin@soleen.com, yosryahmed@google.com, hannes@cmpxchg.org, shakeelb@google.com, kirill.shutemov@linux.intel.com, wangkefeng.wang@huawei.com, adobriyan@gmail.com, vbabka@suse.cz, Liam.Howlett@Oracle.com, surenb@google.com, linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-doc@vger.kernel.org, linux-mm@kvack.org, willy@infradead.org, weixugc@google.com Subject: Re: [PATCH v8 1/1] mm: report per-page metadata information Message-Id: <20240215161441.c8a2350a61f6929c0dbe9e7b@linux-foundation.org> In-Reply-To: <20240214225741.403783-2-souravpanda@google.com> References: <20240214225741.403783-1-souravpanda@google.com> <20240214225741.403783-2-souravpanda@google.com> X-Mailer: Sylpheed 3.8.0beta1 (GTK+ 2.24.33; x86_64-pc-linux-gnu) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit On Wed, 14 Feb 2024 14:57:40 -0800 Sourav Panda wrote: > Adds two new per-node fields, namely nr_memmap and nr_memmap_boot, > to /sys/devices/system/node/nodeN/vmstat and a global Memmap field > to /proc/meminfo. This information can be used by users to see how > much memory is being used by per-page metadata, which can vary > depending on build configuration, machine architecture, and system > use. Would this information be available by the proposed memory allocation profiling? https://lkml.kernel.org/r/20240212213922.783301-1-surenb@google.com