linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/3] drivers/base/memory: Two cleanups
@ 2025-03-11  0:46 Gavin Shan
  2025-03-11  0:46 ` [PATCH v2 1/3] mm/sparse: Expose for_each_present_section_nr() Gavin Shan
                   ` (2 more replies)
  0 siblings, 3 replies; 11+ messages in thread
From: Gavin Shan @ 2025-03-11  0:46 UTC (permalink / raw)
  To: linux-mm
  Cc: linux-kernel, david, osalvador, gregkh, rafael, dakr, akpm, shan.gavin

The series has two cleanups to drivers/base/memory as below.

PATCH[1-2] Improves add_boot_memory_block() by using for_each_present_section_nr()
           and droping @section_count
PATCH[3]   Corrects the comments to match with 'struct memory_group'

Changelog
=========
v2:
  Expose for_each_present_section_nr() so that it can be used in
  add_boot_memory_block()                                           (Andrew)

Gavin Shan (3):
  mm/sparse: Expose for_each_present_section_nr()
  drivers/base/memory: Improve add_boot_memory_block()
  drivers/base/memory: Correct the field name in the header

 drivers/base/memory.c  | 17 ++++++++---------
 include/linux/memory.h |  2 +-
 include/linux/mmzone.h |  5 +++++
 mm/sparse.c            |  5 -----
 4 files changed, 14 insertions(+), 15 deletions(-)

-- 
2.48.1



^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2025-03-11 23:37 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-03-11  0:46 [PATCH v2 0/3] drivers/base/memory: Two cleanups Gavin Shan
2025-03-11  0:46 ` [PATCH v2 1/3] mm/sparse: Expose for_each_present_section_nr() Gavin Shan
2025-03-11  9:31   ` David Hildenbrand
2025-03-11 11:52     ` Gavin Shan
2025-03-11 15:26       ` Oscar Salvador
2025-03-11 23:37         ` Gavin Shan
2025-03-11  0:46 ` [PATCH v2 2/3] drivers/base/memory: Improve add_boot_memory_block() Gavin Shan
2025-03-11  9:34   ` David Hildenbrand
2025-03-11 15:24   ` Oscar Salvador
2025-03-11  0:46 ` [PATCH v2 3/3] drivers/base/memory: Correct the field name in the header Gavin Shan
2025-03-11 15:17   ` Oscar Salvador

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox