ANDROID: GKI: Don't compact data structures when CONFIG_ZSMALLOC=n
In order to keep abi compatibility for vendor zsmalloc module, ensure data structures are not compacted even if zsmalloc is disabled. Bug: 150917000 Change-Id: I8d5d85e50fa34204a48db67f2ae69eed591e8345 Signed-off-by: Kalesh Singh <kaleshsingh@google.com>
This commit is contained in:
@@ -208,9 +208,7 @@ enum zone_stat_item {
|
||||
#endif
|
||||
/* Second 128 byte cacheline */
|
||||
NR_BOUNCE,
|
||||
#if IS_ENABLED(CONFIG_ZSMALLOC)
|
||||
NR_ZSPAGES, /* allocated in zsmalloc */
|
||||
#endif
|
||||
NR_FREE_CMA_PAGES,
|
||||
NR_VM_ZONE_STAT_ITEMS };
|
||||
|
||||
|
||||
@@ -1122,9 +1122,7 @@ const char * const vmstat_text[] = {
|
||||
"nr_shadow_call_stack_bytes",
|
||||
#endif
|
||||
"nr_bounce",
|
||||
#if IS_ENABLED(CONFIG_ZSMALLOC)
|
||||
"nr_zspages",
|
||||
#endif
|
||||
"nr_free_cma",
|
||||
|
||||
/* enum numa_stat_item counters */
|
||||
|
||||
Reference in New Issue
Block a user