Commit 58b3f63b authored by Marcus Ma's avatar Marcus Ma Committed by Treehugger Robot
Browse files

ANDROID: vendor_hooks: Add hooks for pcp related optimization.



We want to make some optimizations to the pcp buffer. First, when directly recycling, we skip drain_all_pages when it is known that the pcp buffer is small to reduce zone->lock contention. In addition, the default pcp buffer size is still relatively small for mobile phones with large memory. We want to increase the pcp buffer area to reduce zone->lock contention.

Bug: 418695654

Change-Id: I38c7a3715500918d839e4363bbcc41cdbf4bd643
Signed-off-by: default avatarMarcus Ma <maminghui5@xiaomi.corp-partner.google.com>
parent ad7902a4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment