Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1221350

Re: [RFC PATCH v3] Fix: clocksource watchdog marks TSC unstable on guest VM

From Thomas Gleixner <tglx@linutronix.de>
Newsgroups linux.kernel
Subject Re: [RFC PATCH v3] Fix: clocksource watchdog marks TSC unstable on guest VM
Date 2015-09-09 12:00 +0200
Message-ID <q6Kky-7VO-13@gated-at.bofh.it> (permalink)
References <q6s4j-6PU-31@gated-at.bofh.it> <q6sGZ-7Px-1@gated-at.bofh.it> <q6C3E-4tG-9@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Tue, 8 Sep 2015, Shaohua Li wrote:
> On Tue, Sep 08, 2015 at 05:08:03PM +0200, Thomas Gleixner wrote:
> > For non paravirt kernels which can read the TSC directly, we'd need a
> > way to transport that information. A simple mechanism would be to
> > query an emulated MSR from the watchdog which tells the guest the
> > state of affairs on the host side. That would be a sensible and
> > minimal invasive change on both host and guests.
> 
> This will require every hypervisor supports the MSR, so not a solution
> we can expect immediately.

I know.
 
> I'm wondering why we can't just make the watchdog better to detect this
> watchdog wrap.

Again, I'm not opposed to make it better. I'm just trying to prevent
making the watchdog a total mess for no reason.

> It can happen in physical machine as I said before, but I
> can't find a simple way to trigger it, so it's not very convincing. But
> the watchdog doesn't work for specific environment (for exmaple, a bogus
> hardware doesn't responsond for some time) for sure, we shouldn't assume
> the world is perfect.

Sigh. If the damned hardware blocks long enough to wreckage the
watchdog then we have more serious problems than that.

Can you please stop this handwaving and provide some proper proof for
your arguments? I'm really tired of this.

Thanks,

	tglx
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[RFC PATCH v3] Fix: clocksource watchdog marks TSC unstable on guest VM Mathieu Desnoyers <mathieu.desnoyers@efficios.com> - 2015-09-08 16:30 +0200
  Re: [RFC PATCH v3] Fix: clocksource watchdog marks TSC unstable on  guest VM Thomas Gleixner <tglx@linutronix.de> - 2015-09-08 17:10 +0200
    Re: [RFC PATCH v3] Fix: clocksource watchdog marks TSC unstable on  guest VM Shaohua Li <shli@fb.com> - 2015-09-09 03:10 +0200
      Re: [RFC PATCH v3] Fix: clocksource watchdog marks TSC unstable on  guest VM Thomas Gleixner <tglx@linutronix.de> - 2015-09-09 12:00 +0200
        Re: [RFC PATCH v3] Fix: clocksource watchdog marks TSC unstable on  guest VM Shaohua Li <shli@fb.com> - 2015-09-09 17:50 +0200

csiph-web