mirror of
https://github.com/hardkernel/kernel_common_drivers.git
synced 2026-06-25 12:03:48 +09:00
f95a3c8267
PD#SWPL-131211 Problem: kernel crash in check_page_to_cma Solution: The problem is that page_mapping function returns a invalid mapping pointer, when a compound page is building while a compaction is doing at same time, there will have a risk of compound page status checking. page->mapping is set to TAIL_MAPPING first then set compound header. But check_page_to_cma don't check real status of page, which caused panic Verify: local Change-Id: Ie707573beb1904d4ecf76acd026a7aba4dd07e80 Signed-off-by: Tao Zeng <tao.zeng@amlogic.com>