Commit 30ac0a50 authored by Liujie Xie's avatar Liujie Xie Committed by Carlos Llamas
Browse files

ANDROID: vendor_hooks: Add hooks for __alloc_pages_direct_reclaim



Provide a vendor hook to allow drain_all_pages to be skipped
during direct reclaim in some cases to avoid delays caused by
it in cases when the benefits of draining pcp lists are known
to be small.

Bug: 220811627
Bug: 231802812
Signed-off-by: default avatarLiujie Xie <xieliujie@oppo.com>
Change-Id: I0805241f81e0a94afcf62c98e97cff125d4061e2
(cherry picked from commit ebbf267f)
Signed-off-by: default avatarCarlos Llamas <cmllamas@google.com>
parent 0623aabb
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment