summaryrefslogtreecommitdiff
path: root/mm/backing-dev.c
diff options
context:
space:
mode:
authorDavid Hildenbrand <david@redhat.com>2020-04-07 06:06:47 +0300
committerLinus Torvalds <torvalds@linux-foundation.org>2020-04-07 20:43:40 +0300
commitdccacf8def2b718528754867b58b37734b59b0d7 (patch)
tree0b048ad92dfaee364e56a2681f9584e6f54aa1d8 /mm/backing-dev.c
parentfada9ae3edeb4175e0f0ac9b369333806dcffbaa (diff)
downloadlinux-dccacf8def2b718528754867b58b37734b59b0d7.tar.xz
mm/page_ext.c: drop pfn_present() check when onlining
Since commit c5e79ef561b0 ("mm/memory_hotplug.c: don't allow to online/offline memory blocks with holes") we disallow to offline any memory with holes. As all boot memory is online and hotplugged memory cannot contain holes, we never online memory with holes. This present check can be dropped. Signed-off-by: David Hildenbrand <david@redhat.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Cc: Michal Hocko <mhocko@suse.com> Cc: Anshuman Khandual <anshuman.khandual@arm.com> Cc: Dan Williams <dan.j.williams@intel.com> Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Cc: Pavel Tatashin <pasha.tatashin@soleen.com> Cc: "Rafael J. Wysocki" <rafael@kernel.org> Link: http://lkml.kernel.org/r/20200127110424.5757-4-david@redhat.com Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/backing-dev.c')
0 files changed, 0 insertions, 0 deletions