svn commit: r356720 - head/sys/vm

Alexander Motin mav at FreeBSD.org
Tue Jan 14 03:27:58 UTC 2020


Author: mav
Date: Tue Jan 14 03:27:57 2020
New Revision: 356720
URL: https://svnweb.freebsd.org/changeset/base/356720

Log:
  Restore loop break in vm_pageout_lowmem().
  
  r355004 removed return statement from this loop with intention to also
  call uma_reclaim_wakeup().  But in case of vm.lowmem_period=0 it causes
  infinite loop.
  
  Reviewed by:	markj
  Sponsored by:	iXsystems, Inc.

Modified:
  head/sys/vm/vm_pageout.c

Modified: head/sys/vm/vm_pageout.c
==============================================================================
--- head/sys/vm/vm_pageout.c	Tue Jan 14 02:44:24 2020	(r356719)
+++ head/sys/vm/vm_pageout.c	Tue Jan 14 03:27:57 2020	(r356720)
@@ -1974,6 +1974,7 @@ vm_pageout_lowmem(void)
 		 */
 		uma_reclaim(UMA_RECLAIM_TRIM);
 		ret = true;
+		break;
 	}
 
 	/*


More information about the svn-src-all mailing list