lkml.org 
[lkml]   [2002]   [Aug]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [patch] tls-2.5.31-D5
From
Date
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/

\
 
 \ /
  Last update: 2005-03-22 13:28    [W:0.087 / U:0.692 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site