android_vh_mm_customize_longterm_pinnable - This hook allows vendors to
customize some special folios that are not migrated. They should not be
migrated to avoid application lags.
android_vh_mm_do_madvise_bypass - This hook allows vendors to customize
some madvise behaviors so that some madvise requests can be completed
quickly in certain scenarios.
android_vh_mm_migrate_one_page - This hook allows vendors to track
certain folios that are being migrated.
android_vh_mm_remove_migration_pte_bypass - This hook is used to
properly handle the migration of the aforementioned special folio.
android_vh_mm_split_huge_page_bypass - This hook is used in certain
scenarios where large folios should not be split to avoid the overhead
caused by splitting.
android_vh_mm_try_split_folio_bypass - This hook is used to skip
splitting large folios during migration in certain scenarios.
Bug: 431672372
Change-Id: I3c3580651e330dc8cfa6fa6f7a4f85fba1ba9807
Signed-off-by: Pengfei Li <pengfei.kernel@vivo.corp-partner.google.com>
Add vendor hook to bypass madvise_pageout on some conditions
such as mmap_lock contention.
Bug: 351175506
Change-Id: Idbdcdf196cb10bbf7f92775fbc539137ca961c54
Signed-off-by: Sooyong Suk <s.suk@samsung.corp-partner.google.com>
We'd like to let custom vendor module does madvise instead and bypass
original madvise.
Bug: 351175506
Change-Id: I93aef1b34f38b548c9be33c4b34f5d4eb00407dc
Signed-off-by: Sooyong Suk <s.suk@samsung.corp-partner.google.com>