Re: [patch] tls-2.5.31-D5

Alexandre Julliard (julliard@winehq.com)
12 Aug 2002 18:50:44 -0700


Ingo Molnar <mingo@elte.hu> writes:

> well, i think i have to agree ... if it wasnt for Wine's 0x40 descriptor.
> But it certainly does not come free. We could have 3 TLS entries (0x40
> will be the last entry), and the copying cost is 9 cycles. (compared to 6
> cycles in the 2 entries case.) Good enough?

Note that Wine doesn't really require the 0x40 descriptor. As long as
we can trap accesses to it and emulate them like we do now, that's
good enough. Of course having a GDT entry would save a few cycles, but
this only matters for old Win16 apps, so I'm not sure adding even 1
cycle to the task switch time is worth it.

-- 
Alexandre Julliard
julliard@winehq.com
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/