Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp5325663ybe; Tue, 10 Sep 2019 01:49:44 -0700 (PDT) X-Google-Smtp-Source: APXvYqwTR9kfs7+IDQjciAbn+VtfW9gzOpllFcW5FL3gq2a3kjt7zJdguFETo6aoPmRijBWZA7dZ X-Received: by 2002:a17:906:c7d0:: with SMTP id dc16mr23355537ejb.30.1568105384321; Tue, 10 Sep 2019 01:49:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1568105384; cv=none; d=google.com; s=arc-20160816; b=SsOPVD+jfTLLSLefAFO69Sf/SOJnMVOrLAQs4KNwEcnekckwXuaPrgZgEDJMp2u7SP G7BWy9BWbaTyEN91ynX+aXpS3IuMsctd1fK165KQ9WtKlSyTB+AmrWhi+WMk4ursGUQR JuWKgpb+ImgJyQ8ksDFpBjpTGwjUb5AxSNiLmtJp/233gP9W50QcldGMaM4D9458lFu9 dd3wzCHy22CD1UzDsMqvIZaECXpgNhly1A/N7Lkmw/qgcY3jhTGq8Ldg/HRdKmqZqlGk 2kP6aKVj8YAW9ymz+h0oCk3pyUgXnRZOdnW8PnGodyhU7kEvdDf4ZIxafDcNlh9KhP/p gmiQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=3SY6sV9Kk+QzFkjSL8M3PFN8ScqMIVwbQKKnfeSopA8=; b=wIqOdSctZCKdJBIDRqoIKjsbBNek04Gm7rtN+mYqN0PNiEm9Vj//fj23BAZRKHe+3i 6PmLpK6UTIMPFXwSiYq+FLOFQEAeFRQvc778wygMB8gg4CKsJe1wN8UQafXcquqyF5t+ xMaXkFBiCsfhOlTT/9guZ4dcSIXDIE4dPIU3zkvN7BOFkYF2cLo5UfGvM6rkoPYeKLsV GcYF7AyCf5UE9LY3gcOuZRtor4pF/hbFUYdfSfuZ2hOZ+/MV+WmrjvabDvX78aKoZkp2 HSww8gsF7VrzQxaiCJBUMRhfaj+Ni/st+J0zNyyiE58hNhVVH0dxsMXYq+k4K0dOjz0l vc8w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@shutemov-name.20150623.gappssmtp.com header.s=20150623 header.b=THRGm6XS; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b1si8706260eje.185.2019.09.10.01.49.20; Tue, 10 Sep 2019 01:49:44 -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=@shutemov-name.20150623.gappssmtp.com header.s=20150623 header.b=THRGm6XS; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388735AbfIIPm5 (ORCPT + 99 others); Mon, 9 Sep 2019 11:42:57 -0400 Received: from mail-ed1-f66.google.com ([209.85.208.66]:41258 "EHLO mail-ed1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388693AbfIIPm5 (ORCPT ); Mon, 9 Sep 2019 11:42:57 -0400 Received: by mail-ed1-f66.google.com with SMTP id z9so13380040edq.8 for ; Mon, 09 Sep 2019 08:42:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=shutemov-name.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=3SY6sV9Kk+QzFkjSL8M3PFN8ScqMIVwbQKKnfeSopA8=; b=THRGm6XSaXwL6nkGJIUR36arIzUbwIyDFRDA3U5m/qBxDyOb3Hxa1xgQlnvTWnFdD7 6hKRYrgaQ41tvn6TVGF+3t0pAOXAxC58CqB1h7e+HifutUHr4IKnnJUV7uDcpMSn97nV MMicdUmqzBFGNjMitH9NhuJ7ZsJl9i0MBYutjCuI1A+rpvKILL++D7uffSa24gGDAPyS CsIzReY/kMAl3Hos2OL4D7sCUlnjKuPXjI7TlAj+RHgAZWTtlcxjo0Qe2jpSl13orlHl 8lRZqVc3vd67K7Hq9Zg00XrQlcORq0O3/fxVQv4ibxpOBbzRAw19XqGUqnigtTpgERWr jYew== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=3SY6sV9Kk+QzFkjSL8M3PFN8ScqMIVwbQKKnfeSopA8=; b=n03OJuO2yHoUbAUpm0GR18oSg2AgxF72nt8XMyoBKfa/mYJlBxoDOylRjReoseDjT5 wLoAK5D6T6llHghKFYH7GRvDIl/r1GRaK4TdJg95fhYzd7RMAjV71EJnj1Wz1jqNBHae l8Fvvb8exqJNYWrXWqlVzEZtHxXcSh2EHV0A4p4egU2dLnY/sPgYV8SzdS/Nhj1OMYQ8 a1/1dXU5TwfF+DwDDlRzM0wVPcwIy3RNUkAaZ05JUJxbNczfv5utC2XwSeKryZgrji5g A/1yMaDIuxPb6Yo2G1bGyoWseGUcIGPT41O24j7bM70KrCKnCKsJCsm6BfVSYzBI2CPM UK0A== X-Gm-Message-State: APjAAAU0+r+Hj0+BZyXRD7zrci01EihVhEsQpOFJrw72YIwrq9x1n9ci X69pnSuXX/nJ+3Ez85Nw2HPu3Q== X-Received: by 2002:aa7:d818:: with SMTP id v24mr4767421edq.23.1568043775730; Mon, 09 Sep 2019 08:42:55 -0700 (PDT) Received: from box.localdomain ([86.57.175.117]) by smtp.gmail.com with ESMTPSA id a3sm1782816eje.90.2019.09.09.08.42.54 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 09 Sep 2019 08:42:55 -0700 (PDT) Received: by box.localdomain (Postfix, from userid 1000) id D32491003B5; Mon, 9 Sep 2019 18:42:53 +0300 (+03) Date: Mon, 9 Sep 2019 18:42:53 +0300 From: "Kirill A. Shutemov" To: Souptick Joarder Cc: kys@microsoft.com, haiyangz@microsoft.com, sthemmin@microsoft.com, sashal@kernel.org, boris.ostrovsky@oracle.com, jgross@suse.com, sstabellini@kernel.org, akpm@linux-foundation.org, david@redhat.com, osalvador@suse.com, mhocko@suse.com, pasha.tatashin@soleen.com, dan.j.williams@intel.com, richard.weiyang@gmail.com, cai@lca.pw, linux-hyperv@vger.kernel.org, xen-devel@lists.xenproject.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 0/3] Remove __online_page_set_limits() Message-ID: <20190909154253.q55olcm4cqwh7izd@box> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20180716 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Sep 08, 2019 at 03:17:01AM +0530, Souptick Joarder wrote: > __online_page_set_limits() is a dummy function and an extra call > to this can be avoided. > > As both of the callers are now removed, __online_page_set_limits() > can be removed permanently. > > Souptick Joarder (3): > hv_ballon: Avoid calling dummy function __online_page_set_limits() > xen/ballon: Avoid calling dummy function __online_page_set_limits() > mm/memory_hotplug.c: Remove __online_page_set_limits() > > drivers/hv/hv_balloon.c | 1 - > drivers/xen/balloon.c | 1 - > include/linux/memory_hotplug.h | 1 - > mm/memory_hotplug.c | 5 ----- > 4 files changed, 8 deletions(-) Do we really need 3 separate patches to remove 8 lines of code? -- Kirill A. Shutemov