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:
Suren Baghdasaryan <surenb@google.com>
Loading
Please register or sign in to comment