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 -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html