Zachary Amsden wrote:
> I agree with that, but especially because this is not even the right
> place to save and clear gs; when userspace uses an LDT based %gs, you
> need to do this all the way back in mmu_context.h before you switch
> the LDT out.
Yeah. This patch was really just to shut my
Andi Kleen wrote:
/*
+* Temporary hack: zero gs now that we've saved it so that Xen
+* doesn't try to reload the old value after changing the GDT
+* during the context switch. This can go away once Xen has
+* been taught to only reload %gs when it
On 21/2/07 22:10, "Andi Kleen" <[EMAIL PROTECTED]> wrote:
>> /*
>> + * Temporary hack: zero gs now that we've saved it so that Xen
>> + * doesn't try to reload the old value after changing the GDT
>> + * during the context switch. This can go away once Xen has
>> + * been taught to only
Andi Kleen wrote:
> Sorry, but i don't really want that unconditionally in the context switch.
> Adding a paravirt ops for it would be also ugly. Can Xen be fixed?
>
Yes. I'm happy to drop this one.
J
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body
> /*
> + * Temporary hack: zero gs now that we've saved it so that Xen
> + * doesn't try to reload the old value after changing the GDT
> + * during the context switch. This can go away once Xen has
> + * been taught to only reload %gs when it absolutely must.
> +
/*
+ * Temporary hack: zero gs now that we've saved it so that Xen
+ * doesn't try to reload the old value after changing the GDT
+ * during the context switch. This can go away once Xen has
+ * been taught to only reload %gs when it absolutely must.
+ */
+
Andi Kleen wrote:
Sorry, but i don't really want that unconditionally in the context switch.
Adding a paravirt ops for it would be also ugly. Can Xen be fixed?
Yes. I'm happy to drop this one.
J
-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a
On 21/2/07 22:10, Andi Kleen [EMAIL PROTECTED] wrote:
/*
+ * Temporary hack: zero gs now that we've saved it so that Xen
+ * doesn't try to reload the old value after changing the GDT
+ * during the context switch. This can go away once Xen has
+ * been taught to only reload %gs when it
Andi Kleen wrote:
/*
+* Temporary hack: zero gs now that we've saved it so that Xen
+* doesn't try to reload the old value after changing the GDT
+* during the context switch. This can go away once Xen has
+* been taught to only reload %gs when it
Zachary Amsden wrote:
I agree with that, but especially because this is not even the right
place to save and clear gs; when userspace uses an LDT based %gs, you
need to do this all the way back in mmu_context.h before you switch
the LDT out.
Yeah. This patch was really just to shut my debug
10 matches
Mail list logo