Skip to contentSkip to conversation

arm64: why set SECTION_SIZE_BITS to 1G size?

DISCUSSION Xishi Qiu 2 participants 2 messages Aug 11, 2016 Memory management

lore
Share & tools
lore

Xishi Qiu

author
#0 lore raw

Hi everyone:
arm64:
SECTION_SIZE_BITS 30 -----1G

The memory hotplug(add_memory -->check_hotplug_memory_range) must be aligned with section.So I can not add mem with 64M ... Can I modify the SECTION_SIZE_BITS to 26?

Thanks,
Xishi Qiu

#1 lore raw
Quoted 6 lines · Xishi Qiu

arm64:
SECTION_SIZE_BITS 30 -----1G

The memory hotplug(add_memory -->check_hotplug_memory_range) must be aligned with section.So I can not add mem with 64M ... Can I modify the SECTION_SIZE_BITS to 26?

There was a patch to reduce this to 27:

http://lkml.kernel.org/g/[email protected]

Also some discussions in this thread on a different patch:

http://lkml.iu.edu/hypermail/linux/kernel/1604.1/03036.html

Does your system really have such small alignment memory blocks?

Signature · 7 lines
Catalin

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to [email protected].  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>