-/* $OpenBSD: uvm_pdaemon.c,v 1.115 2024/09/30 08:09:39 mpi Exp $ */
+/* $OpenBSD: uvm_pdaemon.c,v 1.116 2024/10/02 10:24:11 mpi Exp $ */
/* $NetBSD: uvm_pdaemon.c,v 1.23 2000/08/20 10:24:14 bjh21 Exp $ */
/*
*/
free = uvmexp.free - BUFPAGES_DEFICIT;
if (((pma == NULL || (pma->pm_flags & UVM_PMA_FREED)) &&
- (free + uvmexp.paging >= uvmexp.freetarg << 2)) ||
+ (free + uvmexp.paging >= uvmexp.freetarg)) ||
dirtyreacts == UVMPD_NUMDIRTYREACTS) {
if (swslot == 0) {
/* exit now if no swap-i/o pending */
* free target when all the current pageouts complete.
*/
if ((pma == NULL || (pma->pm_flags & UVM_PMA_FREED)) &&
- (free + uvmexp.paging > uvmexp.freetarg << 2)) {
+ (free + uvmexp.paging > uvmexp.freetarg)) {
rw_exit(slock);
continue;
}