It fixes double counting of COMPACTFREE_SCANNED.
Mot-CRs-fixed: (CR)
Bug:
80168800
Change-Id: I38ef432ecf44ba94988f5a4ec9c69bcb5d20fdce
Signed-off-by: Minchan Kim <minchan@google.com>
Reviewed-on: https://gerrit.mot.com/
1453730
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
vmstat.reclaim_scan += this->event[PGSCAN_DIRECT] +
this->event[PGSCAN_KSWAPD];
vmstat.compact_scan += this->event[COMPACTFREE_SCANNED] +
- this->event[COMPACTFREE_SCANNED];
+ this->event[COMPACTMIGRATE_SCANNED];
}
put_online_cpus();
trace_mm_event_vmstat_record(&vmstat);