Skip to content
Snippets Groups Projects
Commit ce561872 authored by Suren Baghdasaryan's avatar Suren Baghdasaryan
Browse files

ANDROID: cma: Change restrict_cma_redirect to be set by default


When restrict_cma_redirect boot parameter was introduced, its default
was set to follow the upstream behavior, which does not restrict any
movable allocation from using CMA. However this poses an issue when
partners upgrade from previous Android kernels and expect the same
behavior, which is to restrict CMA usage to movable allocations with
__GFP_CMA.
Change the default value of restrict_cma_redirect boot parameter to
keep backward compatibility with earlier ACK versions. Partners who
need upstream behavior will need to set restrict_cma_redirect=false
explicitly.

Bug: 399727765
Change-Id: Ia88008578557e38da54a455bc4ce3dc6f86fe52e
Signed-off-by: default avatarSuren Baghdasaryan <surenb@google.com>
parent 3c4e8061
No related branches found
No related tags found
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