lkml.org 
[lkml]   [2002]   [Aug]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] [2.5 i386] Swap TLS and TSS entries to improve spatial locality

On 7 Aug 2002, Luca Barbieri wrote:

> GDT entries are usually accessed with this pattern:
> * Interrupt: read TSS (for ss0:esp0) and kernel CS/DS
> * Schedule: write TLS, LDT, load FS and GS (either TLS, user DS
> or LDT entry)
> * Return: read user CS/DS
>
> Swapping the TLS and TSS entries causes the GDT entries that are read
> during interrupt and schedule to be in the same cacheline.

yes, this makes perfect sense.

Ingo

-
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:27    [W:0.024 / U:0.068 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site