From 65115fdbf84d284ea5472e366cc0800896100de9 Mon Sep 17 00:00:00 2001 From: Liujie Xie Date: Sat, 3 Jul 2021 09:58:59 +0800 Subject: [PATCH] ANDROID: vendor_hooks: add a field in pglist_data Add a pglist_data field to record additional node parameters. Bug: 192052083 Signed-off-by: Liujie Xie Change-Id: I3d764ab298c71ab9aba245867ee529045551aef4 --- include/linux/mmzone.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/linux/mmzone.h b/include/linux/mmzone.h index 6aaebd16ba6d..08ccefa35267 100644 --- a/include/linux/mmzone.h +++ b/include/linux/mmzone.h @@ -778,6 +778,7 @@ typedef struct pglist_data { int kswapd_failures; /* Number of 'reclaimed == 0' runs */ + ANDROID_OEM_DATA(1); #ifdef CONFIG_COMPACTION int kcompactd_max_order; enum zone_type kcompactd_highest_zoneidx;