mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-10 22:40:54 -04:00
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:
parent
43ee86678a
commit
82d43a89ab
1 changed files with 1 additions and 1 deletions
|
|
@ -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) +
|
||||
|
|
|
|||
Loading…
Reference in a new issue