On 09/01/2009 02:22 PM, Marcelo Tosatti wrote:
On Tue, Sep 01, 2009 at 12:44:08PM +0300, Avi Kivity wrote:
Instead of saving the debug registers from the processor to a kvm data
structure, rely in the debug registers stored in the thread structure.
This allows us not to save dr6 and dr7.
Reduces lightweight vmexit cost by 350 cycles, or 11 percent.
Is this kgdb safe?
I don't think so - kgdb seems to access the debug registers directly. I
think we can live with it at the moment, and later add an API to
arbitrate debug register usage among the various users (kgdb seems to be
unsafe wrt userspace debug as well).
--
error compiling committee.c: too many arguments to function
--
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