ANDROID: vendor_hook: customize gfp and decide whether to bypass in the large folio allocation path

This hook is used as a supplement to the previous hook to dynamic modify the gfp and bypass of order pmd:
https://android-review.googlesource.com/c/kernel/common/+/3227165

Bug: 438090847
Change-Id: Ia33fdc62ab466cf5cfcc53d02b515e28a1ac1431
Signed-off-by: yan chang <changyan1@xiaomi.com>
This commit is contained in:
yan chang
2025-08-12 14:34:39 +08:00
committed by Treehugger Robot
parent d62d9aa3e3
commit 3dd71156b3
3 changed files with 8 additions and 0 deletions
+1
View File
@@ -582,6 +582,7 @@ EXPORT_TRACEPOINT_SYMBOL_GPL(android_vh_mem_cgroup_charge);
EXPORT_TRACEPOINT_SYMBOL_GPL(android_vh_filemap_add_folio);
EXPORT_TRACEPOINT_SYMBOL_GPL(android_vh_shrink_node);
EXPORT_TRACEPOINT_SYMBOL_GPL(android_vh_customize_thp_gfp_orders);
EXPORT_TRACEPOINT_SYMBOL_GPL(android_vh_customize_pmd_gfp_bypass);
EXPORT_TRACEPOINT_SYMBOL_GPL(android_vh_thp_vma_allowable_orders);
EXPORT_TRACEPOINT_SYMBOL_GPL(android_rvh_cpuset_fork);
EXPORT_TRACEPOINT_SYMBOL_GPL(android_vh_alloc_uid);