lkml.org 
[lkml]   [2006]   [Sep]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: Assignment of GDT entries
Date
On Wednesday 13 September 2006 20:58, Jeremy Fitzhardinge wrote:
> What's the rationale for the current assignment of GDT entries? In
> particular, this section:

AFAIK it was mostly for APM and various BIOS bugs. IIRC Wine had
some special requirements at some point too, but I can't remember them right
now. On x86-64 I use all GDT entries, although there are a few special
ordering restrictions due to the semantics of SYSCALL. I ignored Wine too and
so far nobody has complained, so whatever requirements they have they can't
be that important.

> I'm asking because I'd like to use one of these entries for the PDA
> descriptor, so that it is on the same cache line as the TLS
> descriptors. That way, the entry/exit segment register reloads would
> still only need to touch two GDT cache lines. Would there be a real
> problem in doing this?

The only way to find out would be to do it. It's quite possible that all
the systems with APM BIOS that needed it are long beyond their MTBF.

-Andi
-
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: 2006-09-14 09:49    [W:1.783 / U:0.032 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site