Commit e06b35de authored by chunpeng li's avatar chunpeng li Committed by Suren Baghdasaryan
Browse files

ANDROID: mm: export all_pcp_disable/enable

In order to modify the order of the last pcp list, I submitted a patch
via: https://android-review.googlesource.com/c/kernel/common/+/3227163



However, we have observed there is a low probability that the last pcp
list will mix memory blocks of different orders, causing kernel panic.

The correct way is to disable pcp first, then drain pcp, then register
the hook,and finally enable pcp, so that it can work properly.

Bug: 359422098
Change-Id: Ia128a84990db5a97e4ac9217cf004e43f6af5761
Signed-off-by: default avatarchunpeng li <lichunpeng@xiaomi.com>
parent 68bb0a26
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment