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

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to