[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <56C60807.7030104@redhat.com>
Date: Thu, 18 Feb 2016 19:05:59 +0100
From: Paolo Bonzini <pbonzini@...hat.com>
To: Radim Krčmář <rkrcmar@...hat.com>,
linux-kernel@...r.kernel.org
Cc: kvm@...r.kernel.org, Yuki Shibuya <shibuya.yk@...s.nec.co.jp>
Subject: Re: [PATCH v2 08/14] KVM: x86: remove notifiers from PIT discard
policy
On 17/02/2016 20:14, Radim Krčmář wrote:
> Discard policy doesn't rely on information from notifiers, so we don't
> need to register notifiers unconditionally. We kept correct counts in
> case userspace switched between policies during runtime, but that can be
> avoided by reseting the state.
Ah okay so the WARN_ON could actually be triggered. But otherwise I
think my suggestion should work.
Paolo
Powered by blists - more mailing lists