Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1229967
| From | chenfeng <puck.chen@hisilicon.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Question about the sparse memory section size |
| Date | 2015-09-22 10:20 +0200 |
| Message-ID | <qbqXT-89s-1@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
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 majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread
Question about the sparse memory section size chenfeng <puck.chen@hisilicon.com> - 2015-09-22 10:20 +0200
Re: Question about the sparse memory section size Dave Martin <Dave.Martin@arm.com> - 2015-09-22 13:20 +0200
Re: 答复: Question about the sparse memory section size Dave P Martin <Dave.Martin@arm.com> - 2015-09-23 14:10 +0200
csiph-web