From patchwork Sat Sep 7 21:47:04 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Souptick Joarder X-Patchwork-Id: 11136685 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 CFBE41395 for ; Sat, 7 Sep 2019 21:42:58 +0000 (UTC) Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id AB09321835 for ; Sat, 7 Sep 2019 21:42:58 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="LCqusXSt" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org AB09321835 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=xen-devel-bounces@lists.xenproject.org Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1i6iSj-0007Va-89; Sat, 07 Sep 2019 21:41:41 +0000 Received: from us1-rack-iad1.inumbo.com ([172.99.69.81]) by lists.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1i6iSi-0007VG-03 for xen-devel@lists.xenproject.org; Sat, 07 Sep 2019 21:41:40 +0000 X-Inumbo-ID: 4600f990-d1b8-11e9-978d-bc764e2007e4 Received: from mail-pf1-x444.google.com (unknown [2607:f8b0:4864:20::444]) by us1-rack-iad1.inumbo.com (Halon) with ESMTPS id 4600f990-d1b8-11e9-978d-bc764e2007e4; Sat, 07 Sep 2019 21:41:39 +0000 (UTC) Received: by mail-pf1-x444.google.com with SMTP id y72so6729301pfb.12 for ; Sat, 07 Sep 2019 14:41:39 -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:in-reply-to:references :in-reply-to:references; bh=roF+iHytDA2OpX6EAs6vae/MbSREfIb/2EmgYW70LGY=; b=LCqusXStz2S5t5Jo03KSnHbdxvW5JnsBIMaaxJRM/k++WE4/icVGE/B9clTcqDPqzr e+6bcZNXENyZPcxqezTzfGSBa1s2TTVHZSswaU1Q/gsVktt+7t4uh6VhJs2wcOEH+rK2 7EINf8UFuBSovxqmpSsvGmkG7tPc2yxjQt9m58rxPK7IS7zOWR4d+Fv0Qwyp7lzd0wnl KHjiirC1iZTH9ejrMEEPJ859Vod3vSehrRREj21RGvtTebumbB5EmAPCweCBjVlNlnoX xhc2cIqSXEGo0SCZjGNrGJGibWee8BvXhvv/LQ1Qyc2aoKu/JzyGwG0fBb4wq6PYyw7Q Nl1Q== 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:in-reply-to :references:in-reply-to:references; bh=roF+iHytDA2OpX6EAs6vae/MbSREfIb/2EmgYW70LGY=; b=OHdSlcJbiCBPUDEz+Z08251ixz/EoDJbsqRJaqPiafA0BpcVctBGBj+4PTkexLdXJd eGfC83pFfD0X/dVDWZqhgC/Z42PzwD4w1EDvEy34SyMJqcWDBstxU6ydNlf4LQjfgPBz YBFXxBW5LK4dG8YgcQh0oD3+I/OrsFVOuxAL9HYf6tTfpNwUY5czUeUaAM8m3htAuTWz f4FvAHQfEu/MfL3XX/Ka0WILFw4PUMSnE9EiGGMfosom4f6FtAfvGCoJgmwNhMt1guAI MCOpBhuIPLFLjoX+aERXKrKsMry0RbP9eKw/61UKWJ/YPLcfkSKli1GdrbQnMQbRbgWX zsug== X-Gm-Message-State: APjAAAUW5xjUL1YeePGndUuuSO5fj5aW7mlCvDhaNBpIAwH7DFDPEMPp TJTdVZLMLanZNrCLinSfoU4= X-Google-Smtp-Source: APXvYqyFSnMx/7lAMSE2e3lPA0RN+xaQcUoIMVlsQ0qfqgUp72SQW3UUmlrUThMTSeTxYPzNir9e5Q== X-Received: by 2002:aa7:955d:: with SMTP id w29mr18821170pfq.60.1567892498622; Sat, 07 Sep 2019 14:41:38 -0700 (PDT) Received: from localhost.localdomain ([112.79.80.177]) by smtp.gmail.com with ESMTPSA id h11sm9078516pgv.5.2019.09.07.14.41.31 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sat, 07 Sep 2019 14:41:37 -0700 (PDT) From: Souptick Joarder To: 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 Date: Sun, 8 Sep 2019 03:17:04 +0530 Message-Id: <9afe6c5a18158f3884a6b302ac2c772f3da49ccc.1567889743.git.jrdr.linux@gmail.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: References: In-Reply-To: References: Subject: [Xen-devel] [PATCH 3/3] mm/memory_hotplug.c: Remove __online_page_set_limits() X-BeenThere: xen-devel@lists.xenproject.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Cc: Souptick Joarder , xen-devel@lists.xenproject.org, linux-hyperv@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org MIME-Version: 1.0 Errors-To: xen-devel-bounces@lists.xenproject.org Sender: "Xen-devel" As both the callers of this dummy __online_page_set_limits() is removed, this can be removed permanently. Signed-off-by: Souptick Joarder Reviewed-by: David Hildenbrand --- include/linux/memory_hotplug.h | 1 - mm/memory_hotplug.c | 5 ----- 2 files changed, 6 deletions(-) diff --git a/include/linux/memory_hotplug.h b/include/linux/memory_hotplug.h index f46ea71..8ee3a2a 100644 --- a/include/linux/memory_hotplug.h +++ b/include/linux/memory_hotplug.h @@ -105,7 +105,6 @@ extern unsigned long __offline_isolated_pages(unsigned long start_pfn, extern int set_online_page_callback(online_page_callback_t callback); extern int restore_online_page_callback(online_page_callback_t callback); -extern void __online_page_set_limits(struct page *page); extern void __online_page_increment_counters(struct page *page); extern void __online_page_free(struct page *page); diff --git a/mm/memory_hotplug.c b/mm/memory_hotplug.c index c73f099..dc0118f 100644 --- a/mm/memory_hotplug.c +++ b/mm/memory_hotplug.c @@ -604,11 +604,6 @@ int restore_online_page_callback(online_page_callback_t callback) } EXPORT_SYMBOL_GPL(restore_online_page_callback); -void __online_page_set_limits(struct page *page) -{ -} -EXPORT_SYMBOL_GPL(__online_page_set_limits); - void __online_page_increment_counters(struct page *page) { adjust_managed_page_count(page, 1);