Received: by 2002:a05:7412:b795:b0:e2:908c:2ebd with SMTP id iv21csp474380rdb; Thu, 2 Nov 2023 08:52:13 -0700 (PDT) X-Google-Smtp-Source: AGHT+IH09uIOaHn2V1G4mqRNYpWPdn87as8G4QYGO6uG+nvn8ivj2USbizXVt0W4KIMpxVa65E1C X-Received: by 2002:a05:6a20:8427:b0:16c:b95c:6d35 with SMTP id c39-20020a056a20842700b0016cb95c6d35mr25461175pzd.50.1698940333134; Thu, 02 Nov 2023 08:52:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698940333; cv=none; d=google.com; s=arc-20160816; b=sR/FI5addnLdHnIfBZ2QfeK3QefH/OqtRCwK2Rz6qtBM6rvkBwotih7esOrhjqFA0C a3lCJJEvaKVNlxc2kUl0SGZrrHoj35+S63+7/hG1oR9C0rriug+v9xXYIYLHf2y2W0SN /phL2YYyLt/I8rJU3bARWu+x7EruhpC/xA5W2/YeaxUElZyKUh3N8sUpmfDzE7se3y1H ecPWCVuTe5Pw/xlx45YdSte3bLdl6YsNGkcgywmxE1S7W0JMkWA9lCy/S3MgDLEboahq 7LZTbt4gMwwt+jM6D2ItlHc/dckZBGq5kXnq8ar9keUsKqRgKGRoPp8SDheP6DATj77C guSA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=1wB7K/cyK7ekdFksdqw2ZnrHbBqOSSiCpIC9jyTtwpo=; fh=XRDe1R8iQ+qEzQZhXDLyDi6ZJ8qKUzD+V01LhzDk9ao=; b=UOAVSghEnXOq9RZ7Bk2DnQsWCk6RQlYrz7mY1mV0NP5MIpbsVr47WmeRfwmVPgo0/L /Srh7xSCvOw2UU1IzQr08QfxBYzOLNhEJsK+VJwjOt4D6jUXsmBo6ZzZ4+iXWOlisN/q csGNFwclP1aarkp+sdsdn+NPFGSYr1rntLYhnviyaRxVw57kDHRNWmygU3PMQn3F1cnb D3XDk8D2QtWpRk/jESrWAv6xGuWGDy78rsYSyON5JZ7kUQYvA9TDJlmG1Qzqv8MugAJZ 4U+IarZipxO0VzGw2nPXawOmCD1yXANk/+tovHG+4+umHwzbP4qQdyJVoghBz66gUe5G O/2A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@soleen.com header.s=google header.b=HnPsTwnd; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from groat.vger.email (groat.vger.email. [23.128.96.35]) by mx.google.com with ESMTPS id l184-20020a6388c1000000b00563e283786esi1945067pgd.104.2023.11.02.08.52.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 02 Nov 2023 08:52:13 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) client-ip=23.128.96.35; Authentication-Results: mx.google.com; dkim=pass header.i=@soleen.com header.s=google header.b=HnPsTwnd; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id ABB8380D6A1D; Thu, 2 Nov 2023 08:52:01 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1377084AbjKBPvF (ORCPT + 99 others); Thu, 2 Nov 2023 11:51:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56716 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1377052AbjKBPvC (ORCPT ); Thu, 2 Nov 2023 11:51:02 -0400 Received: from mail-qt1-x829.google.com (mail-qt1-x829.google.com [IPv6:2607:f8b0:4864:20::829]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 979E3182 for ; Thu, 2 Nov 2023 08:50:43 -0700 (PDT) Received: by mail-qt1-x829.google.com with SMTP id d75a77b69052e-41cd52c51abso5447721cf.2 for ; Thu, 02 Nov 2023 08:50:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=soleen.com; s=google; t=1698940242; x=1699545042; darn=vger.kernel.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=1wB7K/cyK7ekdFksdqw2ZnrHbBqOSSiCpIC9jyTtwpo=; b=HnPsTwndmznOfFuVOWXHx8ct/WrvBsPK5x/xLIx5VeUKtyb62e+cXmBq3CiPuVdLjN a2jpmZFUz/l+eCljwhEANCYRD36X2YtOA10ZRrpxipMD5rta6iiEh1nPAeg6557YEGDf 7IW5o8OhO/mIuevLjUaz7bfhXTP+ej6/fn2pWFSvuBpwP1QOojfV0G0fD3d01PJUdPUV LvRGJHkEoo+Lnw53MAhNEYaxQxi/3pb3Ar78Q0ZstWFEzAEqDQVawsWQS2r42rT2mexC PDQUPO4R2WSiFFVWcUrxTKxLuDEQGuKt8Z2hTAggmQlUvTBWKuAqT1PWYEU51+5iiT1b MYVw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698940242; x=1699545042; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=1wB7K/cyK7ekdFksdqw2ZnrHbBqOSSiCpIC9jyTtwpo=; b=Cg2ZynUwJ/kzhKw26QrkEJf48wUKVg4tDrBWrtU1tbZx+wNJBFWgatlF6WFEtIzLTR prS/REdqvCLxs0LAflWjfbYbZfymzHn66F2IUbeqTFq1zyQrNAbNUw0e/NbHzQOm4NJe Kx+N8JtLM05wSdr/oWRB8GcWsK4DButCjRWnAichGuv70uWVXzjLxcVtxg0OZ5SsSTQF 1eYvWqYzqsmkPMadflpDSWCj9Iflnh7aNJaG9YOMbvwv3ySJeAhczCw5Rw2qUE0NJA2U CgEXU9ANkdXH0fgxEjPgjHzEirH2NCj4K66l69imJ9FmpOv7/g6FyrFP5J1hkvemn2yD JNNg== X-Gm-Message-State: AOJu0YzNyrp1XR7qpz42ef1gXS6EoZBlWAVc1ebuq6kTwjsAAQd+z72U 9CgqtAM8ZOCrwnLiK0O2AX+JqoYKn3ZhMSo3WRf+wQ== X-Received: by 2002:ac8:5f06:0:b0:418:797:20b6 with SMTP id x6-20020ac85f06000000b00418079720b6mr19045388qta.5.1698940242486; Thu, 02 Nov 2023 08:50:42 -0700 (PDT) MIME-Version: 1.0 References: <20231101230816.1459373-1-souravpanda@google.com> <20231101230816.1459373-2-souravpanda@google.com> <1e99ff39-b1cf-48b8-8b6d-ba5391e00db5@redhat.com> In-Reply-To: <1e99ff39-b1cf-48b8-8b6d-ba5391e00db5@redhat.com> From: Pasha Tatashin Date: Thu, 2 Nov 2023 11:50:05 -0400 Message-ID: Subject: Re: [PATCH v5 1/1] mm: report per-page metadata information To: David Hildenbrand Cc: Wei Xu , Sourav Panda , corbet@lwn.net, gregkh@linuxfoundation.org, rafael@kernel.org, akpm@linux-foundation.org, mike.kravetz@oracle.com, muchun.song@linux.dev, rppt@kernel.org, rdunlap@infradead.org, chenlinxuan@uniontech.com, yang.yang29@zte.com.cn, tomas.mudrunka@gmail.com, bhelgaas@google.com, ivan@cloudflare.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, Greg Thelen Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Thu, 02 Nov 2023 08:52:01 -0700 (PDT) > > Adding reserved memory to MemTotal is a cleaner approach IMO as well. > > But it changes the semantics of MemTotal, which may have compatibility > > issues. > > I object. Could you please elaborate what you object (and why): you object that it will have compatibility issues, or you object to include memblock reserves into MemTotal? Thanks, Pasha