Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp4901690ybb; Tue, 24 Mar 2020 07:24:48 -0700 (PDT) X-Google-Smtp-Source: ADFU+vvYiXdL2HRhHmIZH263tm6vT0IjgP5W/VmfCKsnEu2qGmXKWPVEL7N/caOyfLgABYfs8KQk X-Received: by 2002:a9d:7f05:: with SMTP id j5mr6316735otq.312.1585059888117; Tue, 24 Mar 2020 07:24:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585059888; cv=none; d=google.com; s=arc-20160816; b=zA188JddJq9OQM1dVceL8V10q+Y9uzsMidV/7GTJCUU8Z4Wn/nqgrgrXtHz/RllWd4 gCLyM80HiEuxWqBWCgqlH4fQOGWirUXYlbR9nxn8jFRWHGHT92Bbgtr8Uaxy7XWxgGaV VZYBOC1ShRBDF2t42pb1Uwq3J9FwzkH9PtprVOc7hD3rtQlDIo0G6ogxq3u4s5Ki/+os KTgI8YtxBfIprjhfLgyXIisyfMZIqrv6CdKnKP1o5QfzjD5913RT+WINpCEzIQGKeMJt eePbgUzsSpr2YRlSM/aQM8bZUfXeHPdJ1b1Jt53I4Cm879bHfwHDe5rVd6rbo9GT7UWe VnZA== 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=JCJHy18k9QJc+GlupAj+Hwcwpa9SELMxiXWh1QeV9l4=; b=u7mVSB2ZgaMk6MGg/dICyMdynZ6C+Q1KZMVPL7b+Rv7VUz/g9GIElnHEz06JI/wZCe d2q1R4B1i9WUWCVKnpNprFEQA3UVNby4ySiEChto/vR8yAVxvMDbSHuScfhAZ1V8PEwk nnA/NZdUvR6J5UnKUbAAXT5Bfao+91/UOlqt9V+pphSTigOTdgFxaTIkAbynGyH4lAhC AiKeKZTsRYx3Jt/Eht56mi3h19qlIlwiYyMB7OhQMjXccm9aRTq+BJR0Me3iNxNnU61y kbm9jcsFjdkj8fKfQDvBCKXYmBb9JWuAcWHSbknVjSHK0ICsPu13clbbYlJpy/EjfHa0 Z+SA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=CYNQv3fe; 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=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t205si9522428oib.49.2020.03.24.07.24.32; Tue, 24 Mar 2020 07:24:48 -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=@redhat.com header.s=mimecast20190719 header.b=CYNQv3fe; 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=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728087AbgCXOW4 (ORCPT + 99 others); Tue, 24 Mar 2020 10:22:56 -0400 Received: from us-smtp-delivery-74.mimecast.com ([63.128.21.74]:33080 "EHLO us-smtp-delivery-74.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727270AbgCXOWz (ORCPT ); Tue, 24 Mar 2020 10:22:55 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1585059774; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc; bh=JCJHy18k9QJc+GlupAj+Hwcwpa9SELMxiXWh1QeV9l4=; b=CYNQv3feP/wGOg+50axV6+wm+YWevznRWCRIKV/EcXvrZoKVAk0Ben7CYdEsCyn6NdETng VqkQ19/syKHN8G8n61KhfBRz7oOgQCO9JM0X1qi9QO16D2Vx65PinV2kybAt0eNdvzFVsq earh2ykEOuYnFTpMNGvWwB/tCNCBu5Y= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-160-ZVGxS3XOMIKJBlzaNmo8yg-1; Tue, 24 Mar 2020 10:22:36 -0400 X-MC-Unique: ZVGxS3XOMIKJBlzaNmo8yg-1 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 2F53B13F6; Tue, 24 Mar 2020 14:22:35 +0000 (UTC) Received: from MiWiFi-R3L-srv.redhat.com (ovpn-12-69.pek2.redhat.com [10.72.12.69]) by smtp.corp.redhat.com (Postfix) with ESMTP id AE6015C1B2; Tue, 24 Mar 2020 14:22:31 +0000 (UTC) From: Baoquan He To: linux-kernel@vger.kernel.org Cc: linux-mm@kvack.org, akpm@linux-foundation.org, iamjoonsoo.kim@lge.com, hannes@cmpxchg.org, mhocko@kernel.org, vbabka@suse.cz, bhe@redhat.com Subject: [PATCH 0/5] improvements about lowmem_reserve and /proc/zoneinfo Date: Tue, 24 Mar 2020 22:22:24 +0800 Message-Id: <20200324142229.12028-1-bhe@redhat.com> X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org When tried to review below patchset from Joonsoo, I found out there's some space to improve about lowmem_reserve and /proc/zoneinfo printing. So made this patchset to do it. [PATCH v3 0/2] integrate classzone_idx and high_zoneidx http://lkml.kernel.org/r/1584693135-4396-1-git-send-email-iamjoonsoo.kim@lge.com Baoquan He (5): mm/page_alloc.c: only tune sysctl_lowmem_reserve_ratio value once when changing it mm/page_alloc.c: clear out zone->lowmem_reserve[] if the zone is empty mm/vmstat.c: do not show lowmem reserve protection information of empty zone mm/vmstat.c: move the per-node stats to the front of /proc/zoneinfo mm/vmstat.c: remove the useless code mm/page_alloc.c | 13 +++++++++++-- mm/vmstat.c | 44 +++++++++++++++++--------------------------- 2 files changed, 28 insertions(+), 29 deletions(-) -- 2.17.2