[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20200113113354.6341-1-david@redhat.com>
Date: Mon, 13 Jan 2020 12:33:52 +0100
From: David Hildenbrand <david@...hat.com>
To: linux-kernel@...r.kernel.org
Cc: linux-mm@...ck.org, David Hildenbrand <david@...hat.com>,
Andrew Morton <akpm@...ux-foundation.org>,
Anshuman Khandual <anshuman.khandual@....com>,
Dan Williams <dan.j.williams@...el.com>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Michal Hocko <mhocko@...e.com>,
Oscar Salvador <osalvador@...e.de>,
Pavel Tatashin <pasha.tatashin@...een.com>,
"Rafael J. Wysocki" <rafael@...nel.org>
Subject: [PATCH v1 0/2] mm/memory_hotplug: pass in nid to online_pages()
Simplify onlining code and get rid of find_memory_block(). Pass in the
nid from the memory block we are trying to online directly, instead of
manually looking it up.
David Hildenbrand (2):
mm/memory_hotplug: pass in nid to online_pages()
drivers/base/memory.c: get rid of find_memory_block()
drivers/base/memory.c | 15 ++++-----------
include/linux/memory.h | 1 -
include/linux/memory_hotplug.h | 3 ++-
mm/memory_hotplug.c | 13 ++-----------
4 files changed, 8 insertions(+), 24 deletions(-)
--
2.24.1
Powered by blists - more mailing lists