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

Commit ebd7f8e1 authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "taskstats: properly account NR_KERNEL_MISC_RECLAIMABLE"

parents 1e9f7380 04dbe55b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -482,7 +482,7 @@ static void sysstats_build(struct sys_memstats *stats)
	stats->version = SYSSTATS_VERSION;
	stats->memtotal = K(i.totalram);
	stats->reclaimable =
		global_node_page_state(NR_KERNEL_MISC_RECLAIMABLE) >> 10;
		K(global_node_page_state(NR_KERNEL_MISC_RECLAIMABLE));
	stats->swap_used = K(i.totalswap - i.freeswap);
	stats->swap_total = K(i.totalswap);
	stats->vmalloc_total = K(vmalloc_nr_pages());