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 <xieliujie@oppo.com>
Change-Id: I3d764ab298c71ab9aba245867ee529045551aef4
(cherry picked from commit 65115fdbf8)
This commit is contained in:
Liujie Xie
2021-07-03 09:58:59 +08:00
committed by Steve Muckle
parent 59e1e26589
commit 04bb2779c9

View File

@@ -1064,6 +1064,7 @@ typedef struct pglist_data {
int kswapd_failures; /* Number of 'reclaimed == 0' runs */ int kswapd_failures; /* Number of 'reclaimed == 0' runs */
ANDROID_OEM_DATA(1);
#ifdef CONFIG_COMPACTION #ifdef CONFIG_COMPACTION
int kcompactd_max_order; int kcompactd_max_order;
enum zone_type kcompactd_highest_zoneidx; enum zone_type kcompactd_highest_zoneidx;