public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/1] arm64: reduce section size for sparsemem
@ 2021-01-08 23:15 Sudarshan Rajagopalan
  2021-01-08 23:16 ` [PATCH 1/1] " Sudarshan Rajagopalan
  0 siblings, 1 reply; 6+ messages in thread
From: Sudarshan Rajagopalan @ 2021-01-08 23:15 UTC (permalink / raw)
  To: linux-arm-kernel, linux-kernel, will, anshuman.khandual, david
  Cc: Sudarshan Rajagopalan

This patch is the follow-up from the discussions in the thread [1].
Reducing the section size has the merit of reducing wastage of reserved memory
for huge memory holes in sparsemem model. Also with smaller section size gives
more grunularity and agility for memory hot(un)plugging.

This patch tends to use the suggestion from David Hildenbrand in thread [1]
to set the least possible SECTION_SIZE_BITS for 4K, 16K and 64K page granule.
That is 27 (128MB) for 4K/16K and 29 (512MB) for 64K page granule.

[1] https://lore.kernel.org/lkml/cover.1609895500.git.sudaraja@codeaurora.org/T/#m8ee60ae69db5e9eb06ca7999c43828d49ccb9626

Sudarshan Rajagopalan (1):
  arm64: reduce section size for sparsemem

 arch/arm64/include/asm/sparsemem.h | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)

-- 
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project


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

end of thread, other threads:[~2021-01-21  5:39 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-01-08 23:15 [PATCH 0/1] arm64: reduce section size for sparsemem Sudarshan Rajagopalan
2021-01-08 23:16 ` [PATCH 1/1] " Sudarshan Rajagopalan
2021-01-11 11:09   ` Anshuman Khandual
2021-01-21  5:35     ` Sudarshan Rajagopalan
2021-01-20 17:49   ` Will Deacon
2021-01-20 18:47     ` Sudarshan Rajagopalan

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