Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp477681ybt; Fri, 19 Jun 2020 06:28:02 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxFBK/1rHeRRDeD0bFbKKaumXG6bsAdyNX6552mgxwSw+18lZtmnk5cx7ZXSXtEggXmhBXT X-Received: by 2002:a17:906:60cb:: with SMTP id f11mr1067215ejk.159.1592573282783; Fri, 19 Jun 2020 06:28:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1592573282; cv=none; d=google.com; s=arc-20160816; b=oAKZITJZzKwx4MKGu8Dtp99+LY+KJJomR7zgEz97OfP3qndGpN3AxLNfnec6LRHJ1r tALULmOe1NugtB8R33VGZTy19ZrOBBv1drj39aE/6xeujkgnMeSJgL+x2NQtP2sAQD3K meWyw/AfQ5lV0lNsgQpWxiTwUFOsvPZIDDUQ7LMh4rrpC/l6+FWLRlFOOhHUyrKkpm68 A6NuBEWa1Jv6TQXQwS8QzS+8HmcmXkZxSupfRUrc9nMjEsgaIJeat50OE+p8SQJBEQ7a Uc0zeVBAiMvN3hB5lg72B7qfJPi9PW8XpnvtD9Ht/SgxRR15YKt3e5UGufQJFlF54wxc tb5Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=SeUhzn3LdY5rlFLoRtP7OyzBplT1sTQKVu/qNGGh0Sc=; b=gPQ7bI1x+D+HCVPR8PZg6MfRsqIj3kU/aTvJq66DassfuUK2RMP8yuRMpZ7Nc1t2ph owgbe7PAI8YujTcL8L9+2kEi8OdzFJzKldJA/eBn0M4K4F3DysPQj3iBX5smXzPxsTHq 2K4cjCV0YzRHmbfGaHMZ98N1qPKX3CxCS3/oHrm8TfcVmgd50WLE+7j74vDpvzieweYg U3JTdn0OG3xP0MHNZCqJxkREQBSQQHHcQNxAfAhcUv9J9qNg6sWpz4x0WXswcsEP6+Pe rbVz9oeHKjgATmilrWdIjdONDKNjw9iJDTJAH+XvKUStLY9QmWxmoX5RDeSLGNwPgKdN qt2g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=KuQKykJ6; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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. [23.128.96.18]) by mx.google.com with ESMTP id s12si3662799ejx.234.2020.06.19.06.27.40; Fri, 19 Jun 2020 06:28:02 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=KuQKykJ6; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S1732726AbgFSNYr (ORCPT + 99 others); Fri, 19 Jun 2020 09:24:47 -0400 Received: from us-smtp-delivery-1.mimecast.com ([207.211.31.120]:57116 "EHLO us-smtp-1.mimecast.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1732284AbgFSNYo (ORCPT ); Fri, 19 Jun 2020 09:24:44 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1592573083; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=SeUhzn3LdY5rlFLoRtP7OyzBplT1sTQKVu/qNGGh0Sc=; b=KuQKykJ68QV5fbx3VnQIvLxIEg2gALDgcSfr0xtAYswIEK8J1lBw4bzJESLpLXiP0HWgK2 mVP0xX0nA8L8jG4Psbuqhm46Zk06GjTD5onmQy9E/4lSHzE85iOJsHaKJM2pxmvKMON8j4 vnwQA/pSclnwG5plPbUJ3KcQoPgtneI= 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-327-uAX2pE9fO7qYHQFJvuugMA-1; Fri, 19 Jun 2020 09:24:40 -0400 X-MC-Unique: uAX2pE9fO7qYHQFJvuugMA-1 Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.23]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 8C00364AD9; Fri, 19 Jun 2020 13:24:16 +0000 (UTC) Received: from t480s.redhat.com (ovpn-113-137.ams2.redhat.com [10.36.113.137]) by smtp.corp.redhat.com (Postfix) with ESMTP id 5518CBE81; Fri, 19 Jun 2020 13:24:11 +0000 (UTC) From: David Hildenbrand To: linux-kernel@vger.kernel.org Cc: linux-mm@kvack.org, David Hildenbrand , Andrew Morton , Huang Ying , Johannes Weiner , Michal Hocko , Minchan Kim , Wei Yang Subject: [PATCH v1 0/2] mm: vm_total_pages and build_all_zonelists() cleanup Date: Fri, 19 Jun 2020 15:24:08 +0200 Message-Id: <20200619132410.23859-1-david@redhat.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 2.84 on 10.5.11.23 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Let's drop vm_total_pages and inline nr_free_pagecache_pages() into build_all_zonelists(). David Hildenbrand (2): mm: drop vm_total_pages mm/page_alloc: drop nr_free_pagecache_pages() include/linux/swap.h | 2 -- mm/memory_hotplug.c | 3 --- mm/page-writeback.c | 6 ++---- mm/page_alloc.c | 18 ++++-------------- mm/vmscan.c | 5 ----- 5 files changed, 6 insertions(+), 28 deletions(-) -- 2.26.2