linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* arm64: why set SECTION_SIZE_BITS to 1G size?
@ 2016-08-11  9:44 Xishi Qiu
  2016-08-11 10:07 ` Catalin Marinas
  0 siblings, 1 reply; 2+ messages in thread
From: Xishi Qiu @ 2016-08-11  9:44 UTC (permalink / raw)
  To: Catalin Marinas, Will Deacon; +Cc: Linux MM, LKML, chenjie6

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

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

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

* Re: arm64: why set SECTION_SIZE_BITS to 1G size?
  2016-08-11  9:44 arm64: why set SECTION_SIZE_BITS to 1G size? Xishi Qiu
@ 2016-08-11 10:07 ` Catalin Marinas
  0 siblings, 0 replies; 2+ messages in thread
From: Catalin Marinas @ 2016-08-11 10:07 UTC (permalink / raw)
  To: Xishi Qiu; +Cc: Will Deacon, Linux MM, LKML, chenjie6

On Thu, Aug 11, 2016 at 05:44:46PM +0800, Xishi Qiu wrote:
> 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/1465821119-3384-1-git-send-email-jszhang@marvell.com

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?

-- 
Catalin

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

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

end of thread, other threads:[~2016-08-11 10:07 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-08-11  9:44 arm64: why set SECTION_SIZE_BITS to 1G size? Xishi Qiu
2016-08-11 10:07 ` Catalin Marinas

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