Commit 8c5af78b authored by Yang Yang's avatar Yang Yang Committed by Hailong Liu
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
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>
parent 8215ab68
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment