[PATCH v2 0/2] mm/memory_hotplug: __add_pages() and __remove_pages() cleanups

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is the follow up of:
	"[PATCH v1] mm/memory_hotplug: Easier calculation to get pages to
	 next section boundary" [1]

Cleanups as a follow up on commit 52fb87c81f11 ("mm/memory_hotplug:
cleanup __remove_pages()").

v1 -> v2:
- "mm/memory_hotplug: simplify calculation of number of pages in
   __remove_pages()"
-- Rephrased subject/description, but left patch as is
- "mm/memory_hotplug: cleanup __add_pages()"
-- Make the logic match the logic in __remove_pages()

[1] https://lkml.kernel.org/r/20200205135251.37488-1-david@xxxxxxxxxx

David Hildenbrand (2):
  mm/memory_hotplug: simplify calculation of number of pages in
    __remove_pages()
  mm/memory_hotplug: cleanup __add_pages()

 mm/memory_hotplug.c | 21 +++++++++------------
 1 file changed, 9 insertions(+), 12 deletions(-)

-- 
2.24.1





[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux