From patchwork Thu Apr 2 14:01:10 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Baoquan He X-Patchwork-Id: 11470821 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id DFE3E14DD for ; Thu, 2 Apr 2020 14:01:43 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id AD0F62074D for ; Thu, 2 Apr 2020 14:01:43 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="iX21IOTc" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org AD0F62074D Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=redhat.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id 58FB08E000D; Thu, 2 Apr 2020 10:01:42 -0400 (EDT) Delivered-To: linux-mm-outgoing@kvack.org Received: by kanga.kvack.org (Postfix, from userid 40) id 4F2018E0007; Thu, 2 Apr 2020 10:01:42 -0400 (EDT) X-Original-To: int-list-linux-mm@kvack.org X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 3DF6D8E000D; Thu, 2 Apr 2020 10:01:42 -0400 (EDT) X-Original-To: linux-mm@kvack.org X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0195.hostedemail.com [216.40.44.195]) by kanga.kvack.org (Postfix) with ESMTP id 260398E0007 for ; Thu, 2 Apr 2020 10:01:42 -0400 (EDT) Received: from smtpin29.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay05.hostedemail.com (Postfix) with ESMTP id E013D181AC9BF for ; Thu, 2 Apr 2020 14:01:41 +0000 (UTC) X-FDA: 76663078002.29.scarf43_eaf7501ac347 Received: from filter.hostedemail.com (10.5.16.251.rfc1918.com [10.5.16.251]) by smtpin29.hostedemail.com (Postfix) with ESMTP id 980A018086594 for ; Thu, 2 Apr 2020 14:01:41 +0000 (UTC) X-Spam-Summary: 1,1,0,,d41d8cd98f00b204,bhe@redhat.com,,RULES_HIT:137:30051:30054:30070:30075,0,RBL:205.139.110.120:@redhat.com:.lbl8.mailshell.net-62.18.0.100 66.10.201.10,CacheIP:none,Bayesian:0.5,0.5,0.5,Netcheck:none,DomainCache:0,MSF:not bulk,SPF:ft,MSBL:0,DNSBL:neutral,Custom_rules:0:0:0,LFtime:22,LUA_SUMMARY:none X-HE-Tag: scarf43_eaf7501ac347 X-Filterd-Recvd-Size: 2642 Received: from us-smtp-1.mimecast.com (us-smtp-delivery-1.mimecast.com [205.139.110.120]) by imf03.hostedemail.com (Postfix) with ESMTP for ; Thu, 2 Apr 2020 14:01:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1585836099; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc; bh=P47tpISp/BvzRS6PYC8l3ShMVYjQpript2B4/RcjUII=; b=iX21IOTcozM1qOo/HyCUXaDhT/haNt2G7AsjrINB1+rfZ/vyMRofpm2F6UZMFgHOyE9kWI zRsTS7ag+yhuaYQHRdFqx2lZ78CDaJgXCpMoDmwVclD8tjYyV9+GyXGf0KljKgzK1SigJz nAqoskrUnh+9xQNrNvrBalHj0wwNxFo= 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-242-p88hI8ERNW2AeZOKGVT1nw-1; Thu, 02 Apr 2020 10:01:21 -0400 X-MC-Unique: p88hI8ERNW2AeZOKGVT1nw-1 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 59433DB6B; Thu, 2 Apr 2020 14:01:19 +0000 (UTC) Received: from MiWiFi-R3L-srv.redhat.com (ovpn-12-36.pek2.redhat.com [10.72.12.36]) by smtp.corp.redhat.com (Postfix) with ESMTP id E516260BF1; Thu, 2 Apr 2020 14:01:14 +0000 (UTC) From: Baoquan He To: linux-kernel@vger.kernel.org Cc: linux-mm@kvack.org, akpm@linux-foundation.org, iamjoonsoo.kim@lge.com, mhocko@kernel.org, bhe@redhat.com, mgorman@techsingularity.net, rientjes@google.com Subject: [PATCH v2 0/3] improvements about lowmem_reserve and /proc/zoneinfo Date: Thu, 2 Apr 2020 22:01:10 +0800 Message-Id: <20200402140113.3696-1-bhe@redhat.com> X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 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: In this post, I just drop the patch 4 and patch 5 in old v1 since David and Michal worried moving per-node stats to the front of /proc/zoneinfo has potential to break the existing user space scripts. For patch 1~3, there's no change, seems no risk is found out so far, so just keep them and repost. The v1 thread can be found here: https://lore.kernel.org/linux-mm/20200324142229.12028-1-bhe@redhat.com/ Baoquan He (3): 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/page_alloc.c | 13 +++++++++++-- mm/vmstat.c | 12 ++++++------ 2 files changed, 17 insertions(+), 8 deletions(-)