Files
ubports_kernel_google_msm/mm
ted_lin d892eeb1c6 mm: workaround for widevine playback failed
This change fix widevine playback issue for ION failing to secure mm heap
after flashing image into device or do factory reset.

Bug: 9051476

    Reference from:
    commit 15962c2598f71e0fed921ae441fede5df2bb9e1c
    Author: Laura Abbott <lauraa@codeaurora.org>
    Date:   Fri Apr 5 12:39:18 2013 -0700

        mm: Retry original migrate type if CMA failed

        Currently, __rmqueue_cma will disregard the original migrate type
        and only try MIGRATE_CMA for allocations. If the MIGRATE_CMA
        allocation fails, the fallback types of the original migrate type
        are used. Note that in this current path we never try to actually
        allocate from the original migrate type. If the only pages left
        in the system are the original migrate type, we will fail the
        allocation since we never actually try the original migrate type.
        This may lead to infinite looping since the system still (correctly)
        calculates there are pages available for allocation and will keep
        trying to allocate pages. Fix this degenerate case by allocating
        from the original migrate type if the MIGRATE_CMA allocation fails.

        Change-Id: I62ab293dc694955eaf88e790131a8565395ba8cb
        CRs-Fixed: 470615
        Signed-off-by: Laura Abbott <lauraa@codeaurora.org>

Signed-off-by: ted_lin <ted_lin@asus.com>
2013-05-22 07:57:36 +00:00
..
2013-03-15 17:06:38 -07:00
2013-03-15 17:06:38 -07:00