mirror of
https://github.com/hardkernel/kernel_common_drivers.git
synced 2026-06-25 12:03:48 +09:00
c432ed2742
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: Id44ac3d43d1385148e0527b0ba4d3421c68d825e Signed-off-by: Tao Zeng <tao.zeng@amlogic.com>