psi: use proper accessor

Use proper accessor for high watermark access.

Change-Id: I381bc58455c55c33ebaf2e87dc5ad79131f2f5b5
Signed-off-by: Vinayak Menon <vinmenon@codeaurora.org>
Signed-off-by: Isaac J. Manjarres <isaacm@codeaurora.org>
This commit is contained in:
Vinayak Menon 2019-05-17 14:55:44 +05:30 • committed by Isaac J. Manjarres
commit 82d43a89ab

View file

@ -455,7 +455,7 @@ static void trace_event_helper(struct psi_group *group)
u64 memstall = group->total[PSI_POLL][PSI_MEM_SOME];
for_each_populated_zone(zone) {
wmark = zone->watermark[WMARK_HIGH];
wmark = high_wmark_pages(zone);
free = zone_page_state(zone, NR_FREE_PAGES);
cma = zone_page_state(zone, NR_FREE_CMA_PAGES);
file = zone_page_state(zone, NR_ZONE_ACTIVE_FILE) +