svn commit: r272221 - stable/10/sys/vm
Steven Hartland
smh at FreeBSD.org
Sat Sep 27 18:20:46 UTC 2014
Author: smh
Date: Sat Sep 27 18:20:45 2014
New Revision: 272221
URL: http://svnweb.freebsd.org/changeset/base/272221
Log:
MFC r272071:
Fix ticks wrap issue of lowmem test in vm_pageout_scan
Approved by: re (kib)
Sponsored by: Multiplay
Modified:
stable/10/sys/vm/vm_pageout.c
Directory Properties:
stable/10/ (props changed)
Modified: stable/10/sys/vm/vm_pageout.c
==============================================================================
--- stable/10/sys/vm/vm_pageout.c Sat Sep 27 18:12:05 2014 (r272220)
+++ stable/10/sys/vm/vm_pageout.c Sat Sep 27 18:20:45 2014 (r272221)
@@ -921,7 +921,7 @@ vm_pageout_scan(struct vm_domain *vmd, i
* some. We rate limit to avoid thrashing.
*/
if (vmd == &vm_dom[0] && pass > 0 &&
- lowmem_ticks + (lowmem_period * hz) < ticks) {
+ (ticks - lowmem_ticks) / hz >= lowmem_period) {
/*
* Decrease registered cache sizes.
*/
More information about the svn-src-all
mailing list