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:chunpeng li <lichunpeng@xiaomi.com>
Loading
Please sign in to comment