Skip to content
Commit 7ce9bf1f authored by Marek Szyprowski's avatar Marek Szyprowski
Browse files

mm: cma: fix alignment requirements for contiguous regions



Contiguous Memory Allocator requires each of its regions to be aligned
in such a way that it is possible to change migration type for all
pageblocks holding it and then isolate page of largest possible order from
the buddy allocator (which is MAX_ORDER-1). This patch relaxes alignment
requirements by one order, because MAX_ORDER alignment is not really
needed.

Signed-off-by: default avatarMarek Szyprowski <m.szyprowski@samsung.com>
CC: Michal Nazarewicz <mina86@mina86.com>
Acked-by: default avatarMichal Nazarewicz <mina86@mina86.com>
parent fea7a08a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment