Cc: Ian Kent <raven@...>, <davids@...>, Linux-Kernel@Vger. Kernel. Org <linux-kernel@...>, Chuck Ebbert <cebbert@...>, Bill Davidsen <davidsen@...>, Thomas Gleixner <tglx@...>
No, not if it's off by the second field. That 30% CPU usage indicates that
there's some nasty bug there somewhere, and that's just not worth it.
If time() cannot get the second field right, it's bogus. I'm ok with us
not *guaranteeing* monotonicity of the second field when you compare
gettimeofday() with time(), but the 30% thing implies that it's much worse
than that, and that "time()" will likely report the previous second (when
compared to hrtimers) roughly a quarter of the time.
And that isn't acceptable.
So either it should be fixed, or reverted.
Linus
-