Marcelo Tosatti wrote: > On Tue, Sep 01, 2009 at 04:06:25PM +0300, Avi Kivity wrote: >> Only reload debug register 6 if we're running with the guest's >> debug registers. Saves around 150 cycles from the guest lightweight >> exit path. >> >> dr6 contains a couple of bits that are updated on #DB, so intercept >> that unconditionally and update those bits then. > > Applied, thanks. > Will send a cleanup patch based on the discussion with Avi later. It just requires some testing. And I also have a kgdb-safe(r) version of the switch optimization here. Jan -- Siemens AG, Corporate Technology, CT SE 2 Corporate Competence Center Embedded Linux -- 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