All of lore.kernel.org
 help / color / mirror / Atom feed
* Question about the sparse memory section size
@ 2015-09-22  8:14 ` chenfeng
  0 siblings, 0 replies; 6+ messages in thread
From: chenfeng @ 2015-09-22  8:14 UTC (permalink / raw)
  To: linux-arm-kernel

Hi all,
The sparse memory section size, SECTION_SIZE_BITS, currently is 1GB for arm64 by default. However, it might generate wasted memmap memory space for those memory sections less than 1GB. e.g.
for 512MB memory section, still 14MB(sizeof(struct page) * PAGES_PER_SECTION) memmap needs to be reserved. The wasted memmap space could be eliminated by changing memory section size from 1GB to 512M, but still some questions to be answered,

1) why arm64 uses 1GB as default setting?
2) any risk to change section size from 1GB to 512MB? like, any impact to performance since memory section number is increased.


Any help will be appreciated.

Puck

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

end of thread, other threads:[~2015-09-23 12:08 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-09-22  8:14 Question about the sparse memory section size chenfeng
2015-09-22  8:14 ` chenfeng
2015-09-22 11:17 ` Dave Martin
2015-09-22 11:17   ` Dave Martin
     [not found]   ` <13BC74040D0EF941B37FE727464B56DA8A5E2696@szxema508-mbx.china.huawei.com>
2015-09-23 12:08     ` 答复: " Dave P Martin
2015-09-23 12:08       ` Dave P Martin

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.