summaryrefslogtreecommitdiffstats
path: root/mm/sparse.c
diff options
context:
space:
mode:
authorDavid Hildenbrand <david@redhat.com>2020-04-07 05:06:56 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2020-04-07 19:43:40 +0200
commit6cdd0b30a920b35d901c8ca6b82e9ca4f44f54d6 (patch)
treecd34196aec62f2dfb043c24d11bd573948f78112 /mm/sparse.c
parentmm/memory_hotplug.c: simplify calculation of number of pages in __remove_pages() (diff)
downloadlinux-6cdd0b30a920b35d901c8ca6b82e9ca4f44f54d6.tar.xz
linux-6cdd0b30a920b35d901c8ca6b82e9ca4f44f54d6.zip
mm/memory_hotplug.c: cleanup __add_pages()
Let's drop the basically unused section stuff and simplify. The logic now matches the logic in __remove_pages(). Signed-off-by: David Hildenbrand <david@redhat.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Reviewed-by: Baoquan He <bhe@redhat.com> Reviewed-by: Wei Yang <richard.weiyang@gmail.com> Cc: Segher Boessenkool <segher@kernel.crashing.org> Cc: Oscar Salvador <osalvador@suse.de> Cc: Michal Hocko <mhocko@kernel.org> Cc: Dan Williams <dan.j.williams@intel.com> Link: http://lkml.kernel.org/r/20200228095819.10750-3-david@redhat.com Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions