From patchwork Mon Aug 14 20:00:18 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hugh Dickins X-Patchwork-Id: 13353212 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 0DC9BEB64DD for ; Mon, 14 Aug 2023 20:00:23 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 885EC8E000B; Mon, 14 Aug 2023 16:00:23 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 837308E0001; Mon, 14 Aug 2023 16:00:23 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 6FE668E000B; Mon, 14 Aug 2023 16:00:23 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0016.hostedemail.com [216.40.44.16]) by kanga.kvack.org (Postfix) with ESMTP id 61D138E0001 for ; Mon, 14 Aug 2023 16:00:23 -0400 (EDT) Received: from smtpin04.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay03.hostedemail.com (Postfix) with ESMTP id 2AEB5A0C6B for ; Mon, 14 Aug 2023 20:00:23 +0000 (UTC) X-FDA: 81123777126.04.7EB7053 Received: from mail-oi1-f179.google.com (mail-oi1-f179.google.com [209.85.167.179]) by imf17.hostedemail.com (Postfix) with ESMTP id 423B140013 for ; Mon, 14 Aug 2023 20:00:20 +0000 (UTC) Authentication-Results: imf17.hostedemail.com; dkim=pass header.d=google.com header.s=20221208 header.b=RN6gKeP4; dmarc=pass (policy=reject) header.from=google.com; spf=pass (imf17.hostedemail.com: domain of hughd@google.com designates 209.85.167.179 as permitted sender) smtp.mailfrom=hughd@google.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1692043221; 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:in-reply-to:references:references:dkim-signature; bh=fLQ0206Zcpd3i8+yXJ7CFiqIkxqP939o39iR3izE8t8=; b=vh1J/H9JTLaCbM7eqTwLj73tVkrVVPOfcoJ7lOd7AclKsKHDzf79ydyIO2MAEJu1yXBjqq 93O1OIe7zhqOraclggzWrkr8NdCexTo6evSVcLAncOs6vx62XF9kKgYLUgJneEcoA8vFOs vE2vW6Y1g0mJEr8EBw8c6BJWkADagmw= ARC-Authentication-Results: i=1; imf17.hostedemail.com; dkim=pass header.d=google.com header.s=20221208 header.b=RN6gKeP4; dmarc=pass (policy=reject) header.from=google.com; spf=pass (imf17.hostedemail.com: domain of hughd@google.com designates 209.85.167.179 as permitted sender) smtp.mailfrom=hughd@google.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1692043221; a=rsa-sha256; cv=none; b=aJkRPjmwvSNcGmqUeDL7+S9paWsyNgN+htNzD4kIhehvY3GDM/oXj1mPbmlQvZiq0PsoKL xZB+YxRoEFtHfli57uBiMxbcbor6aLFIFHgtmGM0oNJPkMQP+avQA9DCKhFig7AnqAzy0f ny6XyQgsfLaSIJpEJOCacmWeydbTbg0= Received: by mail-oi1-f179.google.com with SMTP id 5614622812f47-3a5ad44dc5aso4015327b6e.3 for ; Mon, 14 Aug 2023 13:00:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20221208; t=1692043220; x=1692648020; h=mime-version:references:message-id:in-reply-to:subject:cc:to:from :date:from:to:cc:subject:date:message-id:reply-to; bh=fLQ0206Zcpd3i8+yXJ7CFiqIkxqP939o39iR3izE8t8=; b=RN6gKeP4w0087rNnMmVXoFM/DcIMZ/YmnKoXkr5SJzfx1iO8cyco+ZvTGjP5PepIvl NFXvArAkgErGReP7S709cnpJnbjN1LCrnj418QbDowzRZXihJGTIywKqUEEuLUJkbAHB JxGP0RNZYILzDXKIHx6DAaGKJ7xu1zOAwZP/70PV+AoSBiiTzvW8oDMc3Oeeipvs3ue/ 2rOmUeY4BIWB0qk/lafxbeh90LWhsKOrhbthbNkkNbtWxZxKI2eapY8l5KqM1LQc294f ASD67WhSSFXPWZNAgoVMImYvFEJq1XK8idKtyHJJ14gQr7Wn3L07eyhbbIOdoWZh59zq aZZA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1692043220; x=1692648020; h=mime-version:references:message-id:in-reply-to:subject:cc:to:from :date:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=fLQ0206Zcpd3i8+yXJ7CFiqIkxqP939o39iR3izE8t8=; b=c8q5Y/JwCxqS0Ln4TBp+gho5XEKYYYwZgcVADQgUL3eKbCWPVBCaqdqX645yLatUSO H8kH9sU09zTxU1qYtHqpxJM5GUzs/skAnrYFPZXulFXijnY6g06EqZ8T9XU9Kgcdxa0A CHzfHK3e1qF6FFwKGxI9T4adR/SN/bAdGWVipicif3vq+Wa5qiSxbcM80ROjQkGDos9m xVZR3dez2YTIdThUm7dk/jTeVThFtmbftOFQOrCi77zhZB0bdx5Cfq3xnD98N1V7KMOe bCeqcTglocPQIjDp/MovT+v4g+yNgLFzjRuO0E3NAR0mmjQ9MaUcMW96FoDtH1kAqcfu r1kw== X-Gm-Message-State: AOJu0YxNva3kwdAElTP1TL2fFrpU8RTCulH6Aia9VUOu6UvTB40+CAy5 U5kDD4reOr3U6wcPOhxHxPrLqw== X-Google-Smtp-Source: AGHT+IEOQJ+jfWN4KtURoiQYtB2tss2wLUdB8eRtQxajAzs5pelAep0/lPLMEJvwccdyM+zv8eNYEA== X-Received: by 2002:a05:6870:64ac:b0:1b7:2d92:58d6 with SMTP id cz44-20020a05687064ac00b001b72d9258d6mr11323701oab.32.1692043220095; Mon, 14 Aug 2023 13:00:20 -0700 (PDT) Received: from ripple.attlocal.net (172-10-233-147.lightspeed.sntcca.sbcglobal.net. [172.10.233.147]) by smtp.gmail.com with ESMTPSA id s10-20020a81770a000000b005845e6f9b50sm2965735ywc.113.2023.08.14.13.00.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 14 Aug 2023 13:00:19 -0700 (PDT) Date: Mon, 14 Aug 2023 13:00:18 -0700 (PDT) From: Hugh Dickins X-X-Sender: hugh@ripple.attlocal.net To: Andrew Morton cc: Alexey Dobriyan , linux-kernel@vger.kernel.org, linux-mm@kvack.org Subject: [PATCH 1/3] mm,thp: no space after colon in Mem-Info fields In-Reply-To: Message-ID: References: MIME-Version: 1.0 X-Rspam-User: X-Stat-Signature: a1qr5tymnhmc9gsdhpo1qmi89ypxc6eq X-Rspamd-Server: rspam07 X-Rspamd-Queue-Id: 423B140013 X-HE-Tag: 1692043220-334178 X-HE-Meta: U2FsdGVkX19VNwGXgRBiic+q6PE4NPGKUoOYykGdjkyA4nks3xgEmsx2gvwcbZJL86Wd8K1jNuot6IH36PMs1ZXiFK9SXxFQB15oxHyJDgmnqFWEL8SPwl6jUl4MTz4uJMTPGu8uXY7O6fA6TEH9VxLkM8x+Ic357C5utm+Cuh3GIa7sDZkgf7u/dPGyi5MhP0nqr8UDcozeim/rJxfoboiCF5wQoVKJR8NSEBfCvY2Vq5Ax8Git92qxO3gCRerpqMENCv6u9oRSK4ssk6zkAoaeYQp9zxklFVCZYSyOL4o+FEAxHsl06VpH1mFMI5gnuWSj2VOomZ/zCTzFHO67xRWx4j9ZBWlTJaHlcIqPX97Ja1OULlqdze+klR4IOolVRiJzBk1xG6KiVgcvR30p/G7ZUUYN89R+usNsNJYC5aSD9cDiKB7WK4t9QDGIBUCwHOmeyvWHWkZfIc5HVzEwgfeFG7RiQkjOgfQb0mJYQCHKwZl0bCYK4zopcYfTzhmJoSWyz1WNhOVm82gC5vD+GnfxW4YworDnn4YwA0d9KQzkCUDz0DQY8EAfKeKkI3u1wpgzEXuAL85rn5SzZyPZL/nrahags3ouffbkf1M8JnK9EgpMroGYpjtWgRC8q2ZQsdDIap7PWZbiS1jROGuJC8ldq0G9hJs/CFZZV7Mkx0BXq7JxYb6dOR97+Z3MB5MztaCvhBUmN3219xnIw0uYZmiRr5Tnn8y6buk9lvbNMoujG5n3KwkGbdXLowZJF0l+g/QE13UJ0Vy7Bi+cdjG4hrI6VnDdAfNkB5fq4xK9BFxE9CbXERsn7lsUuNsgDEan/IvfohfxEvRV8jePjQ2W01Ms4R1WxizrJkF19KogmILJNC2rTDJWB0L9HaJC3AbX+mA7vzAdE3z3668bQv1MGLXaJkFJiABDwDRDgaxOUw2zAkQDtubGFYh/N/beGjXw+k4ELbQYh9ssozFEw6/ JsXTjH1a AYLYYXZTBuBJit7y96KQ2mwwj7o4W/IDY5qwU+fwpWGy3F7SAC1fFtUyPhBq9QdcbKAOXJygDw49xWuc9BPGwnQKSN6jL+r7ARd1Rw+sJ/wH4fWaEi3so3LLvgUWxt3C1DEOS23UvO8gEzY/KNpEWdoJ3X9/qXDJuMPU3QXSQ5yqo29xo6lH+yya2UdEqV3xMQbkrUTUwO6cNWzrOpsCjkyhzfGU0zpqAACbn+9JacP3P70Ko6tA0hbx22NGGbbeDlwtStxEGI99INZsTQSzT3O1n37h1j6FmlSjsdYR6EsPB1rrJlVvT80k6ljJf93CI/jSqpLnFQL1dYunCYsmmKiuqu4TJL3WA/PU2YfExpGerE+N6gzQJu0i2A1gij/6BC/ph 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: The SysRq-m or OOM Mem-Info dmesg showed (long lines containing) ... shmem:NkB shmem_thp: NkB shmem_pmdmapped: NkB anon_thp: NkB ... Delete the space after the colon after shmem_thp, shmem_pmdmapped, anon_thp: as the shmem example shows, no other fields have a space after the colon in this output. Signed-off-by: Hugh Dickins Reviewed-by: David Hildenbrand --- mm/show_mem.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/mm/show_mem.c b/mm/show_mem.c index 09c7d036d49e..4b888b18bdde 100644 --- a/mm/show_mem.c +++ b/mm/show_mem.c @@ -251,9 +251,9 @@ static void show_free_areas(unsigned int filter, nodemask_t *nodemask, int max_z " writeback:%lukB" " shmem:%lukB" #ifdef CONFIG_TRANSPARENT_HUGEPAGE - " shmem_thp: %lukB" - " shmem_pmdmapped: %lukB" - " anon_thp: %lukB" + " shmem_thp:%lukB" + " shmem_pmdmapped:%lukB" + " anon_thp:%lukB" #endif " writeback_tmp:%lukB" " kernel_stack:%lukB"