From: claudio Date: Tue, 1 Aug 2023 14:15:44 +0000 (+0000) Subject: The swapper left the building long time ago. Now with the issue in X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=b62b6f4a4bbe2053522fa0b20b25f62742e1e90b;p=openbsd The swapper left the building long time ago. Now with the issue in inteldrm fixed we should be able to remove this unneeded wakeup for good. OK mvs@ cheloha@ deraadt@ --- diff --git a/sys/uvm/uvm_meter.c b/sys/uvm/uvm_meter.c index cd0efeeca6f..351b8a5cfad 100644 --- a/sys/uvm/uvm_meter.c +++ b/sys/uvm/uvm_meter.c @@ -1,4 +1,4 @@ -/* $OpenBSD: uvm_meter.c,v 1.44 2023/06/21 21:16:21 cheloha Exp $ */ +/* $OpenBSD: uvm_meter.c,v 1.45 2023/08/01 14:15:44 claudio Exp $ */ /* $NetBSD: uvm_meter.c,v 1.21 2001/07/14 06:36:03 matt Exp $ */ /* @@ -82,15 +82,13 @@ void uvm_total(struct vmtotal *); void uvmexp_read(struct uvmexp *); /* - * uvm_meter: calculate load average and wake up the swapper (if needed) + * uvm_meter: calculate load average */ void uvm_meter(void) { if ((gettime() % 5) == 0) uvm_loadav(&averunnable); - if (proc0.p_slptime > (maxslp / 2)) - wakeup(&proc0); } /*