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; } /* _______________________________________________ svn-src-head@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"