vm_pageout_scan_active: ensure ps_delta is initialized
Reported by: Coverity Reviewed by: markj MFC after: 2 weeks Sponsored by: Dell EMC Isilon Differential Revision: https://reviews.freebsd.org/D26212
This commit is contained in:
parent
a2e194654f
commit
609de97e04
@ -1287,8 +1287,10 @@ act_scan:
|
||||
* so, discarding any references collected by
|
||||
* pmap_ts_referenced().
|
||||
*/
|
||||
if (__predict_false(_vm_page_queue(old) == PQ_NONE))
|
||||
if (__predict_false(_vm_page_queue(old) == PQ_NONE)) {
|
||||
ps_delta = 0;
|
||||
break;
|
||||
}
|
||||
|
||||
/*
|
||||
* Advance or decay the act_count based on recent usage.
|
||||
|
Loading…
x
Reference in New Issue
Block a user