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

Commit d8af15dd authored by Blagovest Kolenichev's avatar Blagovest Kolenichev
Browse files

Revert "mm: don't show nr_indirectly_reclaimable in /proc/vmstat"



This reverts commit d62b8ac8.

This is a preparation change for merging android-4.14-p.77 into
msm-4.14 branch.

nr_indirectly_reclaimable is useful for getting information on total
pool allocations from ion allocator so keep that in /proc/vmstat and
thereby this change is not needed into msm-4.14.

Change-Id: Ic06bba205cdfe2cc8843c2d371785f1676a06bd0
Signed-off-by: default avatarBlagovest Kolenichev <bkolenichev@codeaurora.org>
parent c2214bce
Loading
Loading
Loading
Loading
+1 −5
Original line number Diff line number Diff line
@@ -1090,7 +1090,7 @@ const char * const vmstat_text[] = {
	"nr_vmscan_immediate_reclaim",
	"nr_dirtied",
	"nr_written",
	"", /* nr_indirectly_reclaimable */
	"nr_indirectly_reclaimable",

	/* enum writeback_stat_item counters */
	"nr_dirty_threshold",
@@ -1673,10 +1673,6 @@ static int vmstat_show(struct seq_file *m, void *arg)
	unsigned long *l = arg;
	unsigned long off = l - (unsigned long *)m->private;

	/* Skip hidden vmstat items. */
	if (*vmstat_text[off] == '\0')
		return 0;

	seq_puts(m, vmstat_text[off]);
	seq_put_decimal_ull(m, " ", *l);
	seq_putc(m, '\n');