While auditing the various uses of the uvmexp fields I came across
those under #ifdet notyet.  May I delete them so I don't have to give
them some MP love?  Ok?

Index: arch/amd64//amd64/cpu.c
===================================================================
RCS file: /cvs/src/sys/arch/amd64/amd64/cpu.c,v
retrieving revision 1.150
diff -u -p -r1.150 cpu.c
--- arch/amd64//amd64/cpu.c     13 Sep 2020 11:53:16 -0000      1.150
+++ arch/amd64//amd64/cpu.c     18 Nov 2020 13:11:17 -0000
@@ -443,17 +443,6 @@ cpu_vm_init(struct cpu_info *ci)
                }
                ncolors = max(ncolors, tcolors);
        }
-
-#ifdef notyet
-       /*
-        * Knowing the size of the largest cache on this CPU, re-color
-        * our pages.
-        */
-       if (ncolors <= uvmexp.ncolors)
-               return;
-       printf("%s: %d page colors\n", ci->ci_dev->dv_xname, ncolors);
-       uvm_page_recolor(ncolors);
-#endif
 }
 
 
Index: arch/luna88k/luna88k/isr.c
===================================================================
RCS file: /cvs/src/sys/arch/luna88k/luna88k/isr.c,v
retrieving revision 1.11
diff -u -p -r1.11 isr.c
--- arch/luna88k/luna88k/isr.c  28 Jun 2017 10:31:48 -0000      1.11
+++ arch/luna88k/luna88k/isr.c  18 Nov 2020 13:11:27 -0000
@@ -151,10 +151,6 @@ isrdispatch_autovec(int ipl)
                panic("isrdispatch_autovec: bad ipl %d", ipl);
 #endif
 
-#if 0  /* XXX: already counted in machdep.c */
-       uvmexp.intrs++;
-#endif
-
        list = &isr_autovec[ipl];
        if (LIST_EMPTY(list)) {
                printf("isrdispatch_autovec: ipl %d unexpected\n", ipl);

Reply via email to