proc0 aka the swapper does not do anything. So there is no need to wake it
up. Now the problem is that last time this was tried some inteldrm systems
did hang during bootup because the drm code unexpectedly depended on this
wakeup.

I think I fixed all possible cases of this in the drm stack and so it is
time to retry this. People with affected machines please give this a try.

-- 
:wq Claudio

Index: uvm/uvm_meter.c
===================================================================
RCS file: /cvs/src/sys/uvm/uvm_meter.c,v
retrieving revision 1.44
diff -u -p -r1.44 uvm_meter.c
--- uvm/uvm_meter.c     21 Jun 2023 21:16:21 -0000      1.44
+++ uvm/uvm_meter.c     29 Jul 2023 07:48:44 -0000
@@ -89,8 +89,6 @@ uvm_meter(void)
 {
        if ((gettime() % 5) == 0)
                uvm_loadav(&averunnable);
-       if (proc0.p_slptime > (maxslp / 2))
-               wakeup(&proc0);
 }
 
 /*

Reply via email to