Commit 0c03f487 authored by Yang Yang's avatar Yang Yang Committed by Dang Jian
Browse files

ANDROID: mm: add vendor hooks to adjust memory reclamation



Add vendor hooks to adjust page reclamation operations based on the
running task and kernel memory pressure. Determine if file pages should
be skipped in response to file faults and memory pressure.

 Conflicts:
	drivers/android/vendor_hooks.c
	include/trace/hooks/vmscan.h
	mm/vmscan.c
	replace folio with page

Bug: 350865007
Bug: 453967145
Change-Id: I39c223876ef82af443407234e35f39bcbbeb17cb
Signed-off-by: default avatarYang Yang <yang.yang@vivo.com>
(cherry picked from commit b0807745)
Signed-off-by: default avatarHailong Liu <liuhailong@oppo.com>
(cherry picked from commit 8c5af78b)
parent 82f0425a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment