Files
kernel_common_drivers/auto_patch
Tao Zeng f95a3c8267 mm: fix compound page header problem [3/3]
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>
2023-08-31 20:23:53 -07:00
..