summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinux Build Service Account <lnxbuild@localhost>2018-05-07 19:23:40 -0700
committerGerrit - the friendly Code Review server <code-review@localhost>2018-05-07 19:23:40 -0700
commit215096ec8ef497227cf3bc7b3dee5891c6b0ebb2 (patch)
tree371da4ea6fbda7e0a0241416493e5f470d75afcf
parentf79ef2334a2754d1083f6c1a78151fab36a96150 (diff)
parent7e22f75445517436fd3e937ef865909408cc625c (diff)
Merge "mm: introduce NR_INDIRECTLY_RECLAIMABLE_BYTES"
-rw-r--r--include/linux/mmzone.h1
-rw-r--r--mm/vmstat.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/mmzone.h b/include/linux/mmzone.h
index 0db2f3cb1b6c..f09c5b28ed70 100644
--- a/include/linux/mmzone.h
+++ b/include/linux/mmzone.h
@@ -176,6 +176,7 @@ enum zone_stat_item {
NR_ANON_TRANSPARENT_HUGEPAGES,
NR_FREE_CMA_PAGES,
NR_SWAPCACHE,
+ NR_INDIRECTLY_RECLAIMABLE_BYTES, /* measured in bytes */
NR_VM_ZONE_STAT_ITEMS };
/*
diff --git a/mm/vmstat.c b/mm/vmstat.c
index 6c841595b963..9ab13e3be5df 100644
--- a/mm/vmstat.c
+++ b/mm/vmstat.c
@@ -765,6 +765,7 @@ const char * const vmstat_text[] = {
"nr_anon_transparent_hugepages",
"nr_free_cma",
"nr_swapcache",
+ "nr_indirectly_reclaimable",
/* enum writeback_stat_item counters */
"nr_dirty_threshold",