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.
This commit is contained in:
Alexander Motin 2020-01-14 03:27:57 +00:00
parent 9b8db4d0a0
commit ace409ce9c
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=356720

View file

@ -1974,6 +1974,7 @@ vm_pageout_lowmem(void)
*/
uma_reclaim(UMA_RECLAIM_TRIM);
ret = true;
break;
}
/*