Received: by 2002:a25:31c3:0:0:0:0:0 with SMTP id x186csp1840155ybx; Sat, 2 Nov 2019 07:20:33 -0700 (PDT) X-Google-Smtp-Source: APXvYqyCxG8ESO2EAqlGeykmbWLCg4xWb8CCkavr0co2oRjdNMmoylaXv9Atuw5BtUPgqb4an+VE X-Received: by 2002:a50:fb18:: with SMTP id d24mr18994486edq.216.1572704433009; Sat, 02 Nov 2019 07:20:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1572704433; cv=none; d=google.com; s=arc-20160816; b=xMT68zNKaGmkM87hoISEbZ9fKzFvo5JzTSPYyNUq/45DGHwFMHr0jKHrIdn4VSozxZ 4npNDKa/PTUiGIdt7Ha2JjSljnLXanaZBreZX2kYX35pwoCKbN+SQLxx1LBQ98WMOFC7 AwO5GQP1HLwv7yk15D/gs7/TPcigIw2lRcQuOBlPyJKtN9AOL43EpZ4nlt1PVCTThwUW bkJECmS6MGrf8lnf8CJSenU43LvkP8lmXEdnLC9kKoXTYi4wKN/0chLsT1ylx7izS159 YNHR7sgmzGpwN/ChB0FDX+ic8CLUuu2Mjm6+nkLiu3auVXaJ09VCeolNGkBTaX6W6ug+ 7GzQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature; bh=a8nPsYzLVucjtzOFwmv8LXp67bFoiAmOgB6QFAs0bng=; b=vb2Wt2Q8CjgW9qQ1RzO68l4XHrXb7NM0s21NCO0ZZgVHWnvHnMu2+//UHntNBzO7nL N/vTk1b2Q9Ssx2Aas2TG/kl8euOpZCdkj2y+f5pKtvYgeaAWj8UsiwWmkqN1OaNpp/vW P3PjJ2s1bC9ijA1NALkl+bRb4n+cvrDIZbgktxnqF8IycgBtshnccHtXkcw/A6z/IxRh nggkAMD7tyxvRUwwNx2QJBElZKm/KdCgxgTvLclmvQ7QahHRzP7ruInnSY9DDWM/8Qrb r/YiujPcRckezvjl1NYZRbTCqabFMNFFjoMusCZ3ij3sXPac3l1juLylaaLOpEh30ovI JOAQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=qbqkBZru; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 35si3258786edl.409.2019.11.02.07.20.10; Sat, 02 Nov 2019 07:20:32 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=qbqkBZru; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726944AbfKBOSS (ORCPT + 99 others); Sat, 2 Nov 2019 10:18:18 -0400 Received: from mail-pg1-f194.google.com ([209.85.215.194]:42313 "EHLO mail-pg1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726406AbfKBOSR (ORCPT ); Sat, 2 Nov 2019 10:18:17 -0400 Received: by mail-pg1-f194.google.com with SMTP id s23so4866346pgo.9 for ; Sat, 02 Nov 2019 07:18:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=a8nPsYzLVucjtzOFwmv8LXp67bFoiAmOgB6QFAs0bng=; b=qbqkBZruX8HZvNfpETOZhWhtFPZ+VhfXgFGq6FyblnNDlsxOM+41fczYXB/YbSFkIS QlJzl5FTMdGMAqr1vsIH5T06fPmyOJn8LrXtIV7OpsXPYognMKM5bGbp5EaBMttjxTQ6 J/rYNZ4JE/KVP9zXS+z9a/GXhqrjyLbeBbF4dfYgkbIH8OiisNmP/M7PkeoPGa20i2UL RE/iKdi7mvJtaanGImu34OCwinO9aRpy13MVNY7vEmvi9+F0ALtorv9X/DMeUr1s4qJu y9TBkle10bQk7ZEmGrsRsBq022a40dOp28QV9oy4/qcbprqFwoofEgOHbP0iaUU1c0QE X/SQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=a8nPsYzLVucjtzOFwmv8LXp67bFoiAmOgB6QFAs0bng=; b=M0rO8iMbwf9aaLVxh/ybFDBK/GlgLdnJNZT2wxU+JGrDny8h5Gkjr7NErjVXWWI+I9 FPt2o5t+E3B2WDXDLzObigC0rjLW7ZGFiTrW96U/iZfzO+8mAxFs2JuxAi9LDRhUFZdF pC/xHiIBLZ8S1xlJG9X+Sp+qHNSmveMM5/lO/6KJahI6b2GPPkPr7Z2SzV4Z8tSFQfRF 3/bpA1dkpf8rsST3Xy44O2dWnYBTX8XNLiB2vqYQ1WFYkT5XjrOhD8+D3q2MbHcT0+TS 23dz/ydn3rF5p/RUU6PQOcXlXfSEWBe2d9OfwvQ9hsIfiFw6YsrpoKhLiA5IngkIk4Ef fIdw== X-Gm-Message-State: APjAAAUNYucypffeN2m7AZVPz+3XTfwBkNEEqKniGONi8EoMNYFLeeNA iKTrEwvDrkedGuJN6G9UpOE= X-Received: by 2002:a63:e750:: with SMTP id j16mr20531847pgk.30.1572704296770; Sat, 02 Nov 2019 07:18:16 -0700 (PDT) Received: from ubuntu.localdomain ([118.193.245.26]) by smtp.gmail.com with ESMTPSA id k9sm9999203pfk.72.2019.11.02.07.18.14 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sat, 02 Nov 2019 07:18:16 -0700 (PDT) From: hui yang To: akpm@linux-foundation.org Cc: mhocko@suse.com, dan.j.williams@intel.com, yanghui.def@gmail.com, linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: [PATCH] mm: There should have an unit (kB) Date: Sat, 2 Nov 2019 22:18:07 +0800 Message-Id: <1572704287-4444-1-git-send-email-yanghui.def@gmail.com> X-Mailer: git-send-email 2.7.4 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: YangHui - printk(KERN_CONT " %ld", zone->lowmem_reserve[i]); + printk(KERN_CONT " %ldkB", zone->lowmem_reserve[i]); Make it look more perfect Signed-off-by: YangHui --- mm/page_alloc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mm/page_alloc.c b/mm/page_alloc.c index ecc3dba..ee5043a 100644 --- a/mm/page_alloc.c +++ b/mm/page_alloc.c @@ -5389,7 +5389,7 @@ void show_free_areas(unsigned int filter, nodemask_t *nodemask) K(zone_page_state(zone, NR_FREE_CMA_PAGES))); printk("lowmem_reserve[]:"); for (i = 0; i < MAX_NR_ZONES; i++) - printk(KERN_CONT " %ld", zone->lowmem_reserve[i]); + printk(KERN_CONT " %ldkB", zone->lowmem_reserve[i]); printk(KERN_CONT "\n"); } -- 2.7.4