Commit 80750a97 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: 419068512

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