From b62b6f4a4bbe2053522fa0b20b25f62742e1e90b Mon Sep 17 00:00:00 2001 From: claudio Date: Tue, 1 Aug 2023 14:15:44 +0000 Subject: [PATCH] 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@ --- sys/uvm/uvm_meter.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) 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); } /* -- 2.20.1