Home
last modified time | relevance | path

Searched hist:e888ca3545dc6823603b976e40b62af2c68b6fcc (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/mm/
H A Dmemory_hotplug.cdiff e888ca3545dc6823603b976e40b62af2c68b6fcc Thu Mar 17 16:18:12 CDT 2016 Vlastimil Babka <vbabka@suse.cz> mm, memory hotplug: small cleanup in online_pages()

We can reuse the nid we've determined instead of repeated pfn_to_nid()
usages. Also zone_to_nid() should be a bit cheaper in general than
pfn_to_nid().

Signed-off-by: Vlastimil Babka <vbabka@suse.cz>
Cc: Andrea Arcangeli <aarcange@redhat.com>
Cc: "Kirill A. Shutemov" <kirill.shutemov@linux.intel.com>
Cc: Rik van Riel <riel@redhat.com>
Cc: Joonsoo Kim <iamjoonsoo.kim@lge.com>
Cc: Mel Gorman <mgorman@techsingularity.net>
Cc: David Rientjes <rientjes@google.com>
Cc: Michal Hocko <mhocko@suse.com>
Cc: Johannes Weiner <hannes@cmpxchg.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>