Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c69ff7a8 authored by Suren Baghdasaryan's avatar Suren Baghdasaryan Committed by Saravana Kannan
Browse files

ANDROID: GKI: fix ABI diffs caused by ION heap and pool vmstat additions



New nr_ion_heap and nr_ion_heap_pool fields in vmstat file cause ABI
differences. Fix them by adding the fields.

Bug: 110330255
Bug: 130198686
Bug: 153442668
Test: boot
Signed-off-by: default avatarMinchan Kim <minchan@google.com>
(cherry picked from commit 8f76a3ed2a76492deba9edebc990cac3b32f78be)
Signed-off-by: default avatarMartin Liu <liumartin@google.com>
[surenb: cherry picked and trimmed the original patch to include only
necessary changes to resolve ABI diff for node_stat_item enum]

Bug: 149182139
Test: build and boot
Signed-off-by: default avatarSuren Baghdasaryan <surenb@google.com>
Change-Id: I82b43bd3d94b950bd266aa53a3794182604a52d0
parent 4a853c72
Loading
Loading
Loading
Loading
+2 −0
Original line number Original line Diff line number Diff line
@@ -188,6 +188,8 @@ enum node_stat_item {
	NR_WRITTEN,		/* page writings since bootup */
	NR_WRITTEN,		/* page writings since bootup */
	NR_KERNEL_MISC_RECLAIMABLE,	/* reclaimable non-slab kernel pages */
	NR_KERNEL_MISC_RECLAIMABLE,	/* reclaimable non-slab kernel pages */
	NR_UNRECLAIMABLE_PAGES,
	NR_UNRECLAIMABLE_PAGES,
	NR_ION_HEAP,
	NR_ION_HEAP_POOL,
	NR_VM_NODE_STAT_ITEMS
	NR_VM_NODE_STAT_ITEMS
};
};


+3 −0
Original line number Original line Diff line number Diff line
@@ -1168,6 +1168,9 @@ const char * const vmstat_text[] = {
	"nr_kernel_misc_reclaimable",
	"nr_kernel_misc_reclaimable",
	"nr_unreclaimable_pages",
	"nr_unreclaimable_pages",



	"nr_ion_heap",
	"nr_ion_heap_pool",
	/* enum writeback_stat_item counters */
	/* enum writeback_stat_item counters */
	"nr_dirty_threshold",
	"nr_dirty_threshold",
	"nr_dirty_background_threshold",
	"nr_dirty_background_threshold",