mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-09-18 18:15:59 +00:00
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>
This commit is contained in:
parent
ad09315cad
commit
9a2dc04cf0
1 changed files with 34 additions and 26 deletions
60
mm/bootmem.c
60
mm/bootmem.c
Loading…
Add table
Add a link
Reference in a new issue