diff options
| author | Marek Szyprowski <[email protected]> | 2012-08-27 18:27:19 +0000 |
|---|---|---|
| committer | Marek Szyprowski <[email protected]> | 2012-08-28 19:01:01 +0000 |
| commit | 7ce9bf1f4785dab0598a19a7fcb0733a18193e4e (patch) | |
| tree | 258efa17f0398073cad1dbc0663e587b41a4d30f /lib/mpi/mpi-pow.c | |
| parent | Linux 3.6-rc3 (diff) | |
| download | kernel-7ce9bf1f4785dab0598a19a7fcb0733a18193e4e.tar.gz kernel-7ce9bf1f4785dab0598a19a7fcb0733a18193e4e.zip | |
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: Marek Szyprowski <[email protected]>
CC: Michal Nazarewicz <[email protected]>
Acked-by: Michal Nazarewicz <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-pow.c')
0 files changed, 0 insertions, 0 deletions
