ANDROID: unprotect zram and zsmalloc GKI modules

OEMs customise zram and its allocator for their specific needs.

Bug: 408320886
Change-Id: Ib3b859df4eb6151e6f7d41ad03e87b8c2d2c8424
Signed-off-by: Sid Nayyar <sidnayyar@google.com>
This commit is contained in:
Sid Nayyar
2025-04-07 09:08:31 -07:00
committed by Giuliano Procida
parent 4b79b7b488
commit 16079def5d
2 changed files with 4 additions and 12 deletions
-11
View File
@@ -613,14 +613,3 @@ wwan_port_txon
wwan_register_ops
wwan_remove_port
wwan_unregister_ops
zs_compact
zs_create_pool
zs_destroy_pool
zs_free
zs_get_total_pages
zs_huge_class_size
zs_lookup_class_index
zs_malloc
zs_map_object
zs_pool_stats
zs_unmap_object
+4 -1
View File
@@ -207,7 +207,10 @@ def get_kunit_modules_list(arch = None):
return kunit_modules_list
# LINT.IfChange
_COMMON_UNPROTECTED_MODULES_LIST = []
_COMMON_UNPROTECTED_MODULES_LIST = [
"drivers/block/zram/zram.ko",
"mm/zsmalloc.ko",
]
# LINT.ThenChange(gki/aarch64/protected_exports)
# buildifier: disable=unnamed-macro