[PATCH 1/2] ARM: mmu: fix the hang when we steal a section unaligned size memory

Huang Shijie b32955 at freescale.com
Tue Jun 18 22:36:06 EDT 2013


于 2013年06月19日 00:52, Russell King - ARM Linux 写道:
> This is why I've always said - if you steal memory from memblock, it
> _must_  be aligned to 1MB (the section size) to avoid this.  Not only

firstly, it's a little waste to _must_ steal 1M for some board with less 
memory such as 512M memory;

secondly, if we do not support the section unaligned mapping, we should 
remove the alloc_init_pte() in alloc_init_pmd(),
add a comment to tell that we do not support the section unaligned mapping.

thanks
Huang Shijie






More information about the linux-arm-kernel mailing list