From patchwork Thu Nov 17 04:32:47 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yosry Ahmed X-Patchwork-Id: 13046119 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 067BCC4332F for ; Thu, 17 Nov 2022 04:32:58 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id E7F4A6B0078; Wed, 16 Nov 2022 23:32:57 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id E2F0C8E0002; Wed, 16 Nov 2022 23:32:57 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id CF7328E0001; Wed, 16 Nov 2022 23:32:57 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0014.hostedemail.com [216.40.44.14]) by kanga.kvack.org (Postfix) with ESMTP id C10AF6B0078 for ; Wed, 16 Nov 2022 23:32:57 -0500 (EST) Received: from smtpin11.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay08.hostedemail.com (Postfix) with ESMTP id 8AAEC140483 for ; Thu, 17 Nov 2022 04:32:57 +0000 (UTC) X-FDA: 80141663994.11.5226827 Received: from mail-pf1-f201.google.com (mail-pf1-f201.google.com [209.85.210.201]) by imf21.hostedemail.com (Postfix) with ESMTP id 375A81C0005 for ; Thu, 17 Nov 2022 04:32:56 +0000 (UTC) Received: by mail-pf1-f201.google.com with SMTP id f189-20020a6238c6000000b0056e3400fdc0so473363pfa.10 for ; Wed, 16 Nov 2022 20:32:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=cc:to:from:subject:message-id:mime-version:date:from:to:cc:subject :date:message-id:reply-to; bh=aPfz7WPanVmO6P7mkMngEyHk/rMaAEiwNpFse5O+tqM=; b=HdydIX0CXLjX9PAqV1oTIzt4lJrdlYjImWI83DE6XPrdkzdC72019HweIQ+6F8Fi80 8cYlXC6SzbRByJB4mewKXX/Tf7yItRXOhReUDd2eGOWREo2YpjLhXhUjQpL8/FN1eJJB /HymzCDDV1iOnw7d2RM/TexsCCVXilvQzqlFMo0XxB+pvgT0uBkEBMMjmvVfuV3jCzVz Xj4A7tpJeGGiZKbmhWPydEeJiqDHbTkMT5IFTAw+5UcEmunZsUvXri1Y88kzoNqMvb3K 1/lwFMwX3E1G//+M56+9A3BIeS7cmsadgatjb7bTD6O9uh+FtSfAxmq6baRnJjCFL+vr pVgw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:from:subject:message-id:mime-version:date:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=aPfz7WPanVmO6P7mkMngEyHk/rMaAEiwNpFse5O+tqM=; b=uyvAzUx6qHeedh2VUyX1CaRgtMVu3QA2wbPqG9aA8oh9DF8Z7QeOJ/sRvFuAnLayZc 9gOb4cenUzFMrJH4TGW8M3sumah4I9oX4Pa+NaHnxo5edDdK5VupaoKN/EZ7hOgNSAuN MyghxW0z81m5jmo29MjsesDdQO+/dB8CLdUDZp/as3GfbuWfEuFJL+T0GiMtTopoV5dE sBcjYwzut0U8xa6wvfXVT5F3ig3ndH4NT9fq+wBSlcz63VJWoj1U30+zyl9AMB92D+YY EgVj3qn3jnD6GP8pcrvmJ0ZbkQ8LEHqOEymtEg3poDe/pU79WlKTEWTfWQ8unGuVmluE TBhw== X-Gm-Message-State: ANoB5pkP6kKaU6DB4lfRO/OHA0/1Ai7IVE6S6sVPKDpnWweh/S0MgSjC c1lOyGtpICXKefd9c9D078WGXyjmmbh9gQkc X-Google-Smtp-Source: AA0mqf5vh871tskpgsVs2JR/F2/2RLJ8ASmrrXij8/N5i5PbB9GmDPDU7IO8m0LjuspVCKlF+DlO0FLjUvJ9oBdQ X-Received: from yosry.c.googlers.com ([fda3:e722:ac3:cc00:7f:e700:c0a8:2327]) (user=yosryahmed job=sendgmr) by 2002:a62:542:0:b0:56c:45db:4481 with SMTP id 63-20020a620542000000b0056c45db4481mr1167664pff.86.1668659575076; Wed, 16 Nov 2022 20:32:55 -0800 (PST) Date: Thu, 17 Nov 2022 04:32:47 +0000 Mime-Version: 1.0 X-Mailer: git-send-email 2.38.1.431.g37b22c650d-goog Message-ID: <20221117043247.133294-1-yosryahmed@google.com> Subject: [PATCH] proc/meminfo: fix spacing in SecPageTables From: Yosry Ahmed To: David Hildenbrand , Andrew Morton , Johannes Weiner , Sean Christopherson , Shakeel Butt , Marc Zyngier Cc: linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-mm@kvack.org, Yosry Ahmed ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1668659576; a=rsa-sha256; cv=none; b=u6nNQFhbGRiV8Qp6tkUSMeJv09DZmosoTZu3GFe7shFqA19LFCRWpj6a0gQcpIMF0bazmn QXhX8qzskqfPQ8WTkrV8ZE14e3tsexSJfSijzKqmg2LSHyUCBMY3Q8r61wMjyRrs/t3s5D WXKJAgCOTXaOs9pvLqlgrOkObG2UpOM= ARC-Authentication-Results: i=1; imf21.hostedemail.com; dkim=pass header.d=google.com header.s=20210112 header.b=HdydIX0C; dmarc=pass (policy=reject) header.from=google.com; spf=pass (imf21.hostedemail.com: domain of 3d7l1YwoKCOIcSWVcELQIHKSSKPI.GSQPMRYb-QQOZEGO.SVK@flex--yosryahmed.bounces.google.com designates 209.85.210.201 as permitted sender) smtp.mailfrom=3d7l1YwoKCOIcSWVcELQIHKSSKPI.GSQPMRYb-QQOZEGO.SVK@flex--yosryahmed.bounces.google.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1668659576; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:content-transfer-encoding:in-reply-to: references:dkim-signature; bh=aPfz7WPanVmO6P7mkMngEyHk/rMaAEiwNpFse5O+tqM=; b=mwUNcNoIIELEiFJQdnxHBRFFbInCCCTvoOI/kmrvgN5n2XaCpWwBPoBw9GvclMdMlplXo/ Ka1nySRA4K62pHX78OKfbo9Xfcfwe+PVbp52KkV0kCUliq4Mv2oT69nO1nDw4ViJchqVCO sMdGc/uyg3VmwXKZTjw2qDwS7ld3ci4= X-Rspam-User: X-Rspamd-Server: rspam08 X-Rspamd-Queue-Id: 375A81C0005 Authentication-Results: imf21.hostedemail.com; dkim=pass header.d=google.com header.s=20210112 header.b=HdydIX0C; dmarc=pass (policy=reject) header.from=google.com; spf=pass (imf21.hostedemail.com: domain of 3d7l1YwoKCOIcSWVcELQIHKSSKPI.GSQPMRYb-QQOZEGO.SVK@flex--yosryahmed.bounces.google.com designates 209.85.210.201 as permitted sender) smtp.mailfrom=3d7l1YwoKCOIcSWVcELQIHKSSKPI.GSQPMRYb-QQOZEGO.SVK@flex--yosryahmed.bounces.google.com X-Stat-Signature: cj34rpnb3u53fqdfc3qxn5u9sqneafs8 X-HE-Tag: 1668659576-798098 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: SecPageTables has a tab after it instead of a space, this can break fragile parsers that depend on spaces after the stat names. Fixes: ebc97a ("mm: add NR_SECONDARY_PAGETABLE to count secondary page table uses.") Signed-off-by: Yosry Ahmed Acked-by: Johannes Weiner Acked-by: Shakeel Butt --- The commit this fixes is in 6.1, so I hope this can also land in 6.1. --- fs/proc/meminfo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/proc/meminfo.c b/fs/proc/meminfo.c index 5101131e6047..440960110a42 100644 --- a/fs/proc/meminfo.c +++ b/fs/proc/meminfo.c @@ -115,7 +115,7 @@ static int meminfo_proc_show(struct seq_file *m, void *v) #endif show_val_kb(m, "PageTables: ", global_node_page_state(NR_PAGETABLE)); - show_val_kb(m, "SecPageTables: ", + show_val_kb(m, "SecPageTables: ", global_node_page_state(NR_SECONDARY_PAGETABLE)); show_val_kb(m, "NFS_Unstable: ", 0);