rk: mm: CMA memory busy error may have a variety of reasons, in the larger one is:
authorCMY <cmy@rock-chips.com>
Fri, 11 Jul 2014 07:13:38 +0000 (15:13 +0800)
committerCMY <cmy@rock-chips.com>
Fri, 11 Jul 2014 07:17:00 +0000 (15:17 +0800)
commite2d17b6af42255590420908077d0cd06b197917c
tree23db8c160a1c3a453981777e256d01a98cf1c847
parent2e5c136b1685b90efbba4b87d9fde19b29c947e0
rk: mm: CMA memory busy error may have a variety of reasons, in the larger one is:
the pages being used in the system come from CMA, and now need recycling
them for new CMA allocation, it need to allocate a new page for storing data
that will be reclaim CMA's pages, but new page may also be come from CMA memory
when memory allocate fall back to MIGRATE_CMA freelist.

Now we protect the CMA's pages in the memory fallback allocate

[ 1637.058550] alloc_contig_range test_pages_isolated(431a0, 431c0) failed
mm/page_alloc.c