timer.c: note an optional improvement
authorAlan Cox <alan@linux.intel.com>
Sat, 30 Jun 2018 22:11:38 +0000 (23:11 +0100)
committerAlan Cox <alan@linux.intel.com>
Sat, 30 Jun 2018 22:11:38 +0000 (23:11 +0100)
Kernel/timer.c

index 7dbb235..0033068 100644 (file)
@@ -105,6 +105,11 @@ void updatetod(void)
                return;
        slide = rtcnew - rtcsec;        /* Seconds elapsed */
        rtcsec = rtcnew;
+       /*
+        *      FIXME: it would be nice if we see a backwards slide of 1 or 2
+        *      to stall the OS clock so we can use an rtc to track a not so
+        *      stable system clock.
+        */
 addtod:
        if (slide < 0)
                slide += 60;            /* Seconds wrapped */