Commit 1789a723 authored by Tangquan Zheng's avatar Tangquan Zheng
Browse files

ANDROID: mm: add vendor hook to activate/unactivate folios



Add hooks for folio activation and deactivation.
The vendor hook helps us determine whether to activate folios in certain cases.

Conflicts:
	drivers/android/vendor_hooks.c
	include/trace/hooks/mm.h
	mm/filemap.c
	mm/rmap.c
	mm/swap.c
Since folios do not exist in version 5.15, the patch has been modified to not refer to folios, but instead refer to pages.

Bug: 417133503
Change-Id: I5cecd1661a8817a0aa06f4d72271dd7b82d75f6a
Signed-off-by: default avatarTangquan Zheng <zhengtangquan@oppo.com>
(cherry picked from commit 75fcaabc)
Signed-off-by: default avatarTangquan Zheng <zhengtangquan@oppo.com>
parent 2f9eb8eb
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment