mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-01-10 07:00:48 +00:00
cma: increase CMA_ALIGNMENT upper limit to 12
Some systems require a larger maximum PAGE_SIZE order for CMA allocations. To accommodate such systems, increase the upper-bound of the CMA_ALIGNMENT range to 12 (which ends up being 16MB on systems with 4K pages). Signed-off-by: Marc Carino <marc.ceeeee@gmail.com> Cc: Marek Szyprowski <m.szyprowski@samsung.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
18ab4d4ced
commit
fe54b1fd49
@ -258,7 +258,7 @@ endchoice
|
|||||||
|
|
||||||
config CMA_ALIGNMENT
|
config CMA_ALIGNMENT
|
||||||
int "Maximum PAGE_SIZE order of alignment for contiguous buffers"
|
int "Maximum PAGE_SIZE order of alignment for contiguous buffers"
|
||||||
range 4 9
|
range 4 12
|
||||||
default 8
|
default 8
|
||||||
help
|
help
|
||||||
DMA mapping framework by default aligns all buffers to the smallest
|
DMA mapping framework by default aligns all buffers to the smallest
|
||||||
|
Loading…
x
Reference in New Issue
Block a user