]> err.no Git - linux-2.6/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)
commit9a2dc04cf070ee98e014a172695782ff42015fc4
tree3a068d5e6625a931f2cf3f7a7133e6f194c962c2
parentad09315cad17458e51c7f1f8b371cb942c54b955
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