mirror of
https://github.com/followmsi/android_kernel_google_msm.git
synced 2024-11-06 23:17:41 +00:00
d892eeb1c6
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> |
||
---|---|---|
.. | ||
backing-dev.c | ||
bootmem.c | ||
bounce.c | ||
cleancache.c | ||
compaction.c | ||
debug-pagealloc.c | ||
dmapool.c | ||
fadvise.c | ||
failslab.c | ||
filemap.c | ||
filemap_xip.c | ||
fremap.c | ||
highmem.c | ||
huge_memory.c | ||
hugetlb.c | ||
hwpoison-inject.c | ||
init-mm.c | ||
internal.h | ||
Kconfig | ||
Kconfig.debug | ||
kmemcheck.c | ||
kmemleak-test.c | ||
kmemleak.c | ||
ksm.c | ||
maccess.c | ||
madvise.c | ||
Makefile | ||
memblock.c | ||
memcontrol.c | ||
memory-failure.c | ||
memory.c | ||
memory_hotplug.c | ||
mempolicy.c | ||
mempool.c | ||
migrate.c | ||
mincore.c | ||
mlock.c | ||
mm_init.c | ||
mmap.c | ||
mmu_context.c | ||
mmu_notifier.c | ||
mmzone.c | ||
mprotect.c | ||
mremap.c | ||
msync.c | ||
nobootmem.c | ||
nommu.c | ||
oom_kill.c | ||
page-writeback.c | ||
page_alloc.c | ||
page_cgroup.c | ||
page_io.c | ||
page_isolation.c | ||
pagewalk.c | ||
percpu-km.c | ||
percpu-vm.c | ||
percpu.c | ||
pgtable-generic.c | ||
prio_tree.c | ||
process_vm_access.c | ||
quicklist.c | ||
readahead.c | ||
rmap.c | ||
shmem.c | ||
slab.c | ||
slob.c | ||
slub.c | ||
sparse-vmemmap.c | ||
sparse.c | ||
swap.c | ||
swap_state.c | ||
swapfile.c | ||
thrash.c | ||
truncate.c | ||
util.c | ||
vmalloc.c | ||
vmscan.c | ||
vmstat.c |