]> git.baikalelectronics.ru Git - kernel.git/commit
mm: offset align in alloc_bootmem()
authorYinghai Lu <yhlu.kernel@gmail.com>
Tue, 18 Mar 2008 19:44:48 +0000 (12:44 -0700)
committerIngo Molnar <mingo@elte.hu>
Sat, 26 Apr 2008 20:51:08 +0000 (22:51 +0200)
commit4b6eb47e845f4369426118716b115be37d55c966
tree3a068d5e6625a931f2cf3f7a7133e6f194c962c2
parent6271b90ebd90465fd83b190a19c9b9de1ec915c6
mm: offset align in alloc_bootmem()

need offset alignment when node_boot_start's alignment is less than
the alignment required.

use local node_boot_start to match alignment - so don't add extra operation
in search loop.

Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
mm/bootmem.c