On 12/7/18 6:15 PM, David Woodhouse wrote:
>  
> -     load_TLS_descriptor(t, cpu, 0);
> -     load_TLS_descriptor(t, cpu, 1);
> -     load_TLS_descriptor(t, cpu, 2);
> +     load_TLS_descriptor(t, cpu, 0, flush_gs);
> +     load_TLS_descriptor(t, cpu, 1, flush_gs);
> +     load_TLS_descriptor(t, cpu, 2, flush_gs);

Since you are changing these lines anyway, can you do a loop over
[0..GDT_ENTRY_TLS_ENTRIES)?

-boris

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel

Reply via email to