From 16079def5d673c2f83b9e8697761020c0bade85d Mon Sep 17 00:00:00 2001 From: Sid Nayyar Date: Mon, 7 Apr 2025 09:08:31 -0700 Subject: [PATCH] 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 --- gki/aarch64/protected_exports | 11 ----------- modules.bzl | 5 ++++- 2 files changed, 4 insertions(+), 12 deletions(-) diff --git a/gki/aarch64/protected_exports b/gki/aarch64/protected_exports index 531614295597..070fbd45f718 100644 --- a/gki/aarch64/protected_exports +++ b/gki/aarch64/protected_exports @@ -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 diff --git a/modules.bzl b/modules.bzl index 49700e6cf657..a31aaeff5f93 100644 --- a/modules.bzl +++ b/modules.bzl @@ -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