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:Tangquan Zheng <zhengtangquan@oppo.com> (cherry picked from commit 75fcaabc) Signed-off-by:
Tangquan Zheng <zhengtangquan@oppo.com>
Loading
Please sign in to comment