[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20061115184936.GA6389@elte.hu>
Date: Wed, 15 Nov 2006 19:49:36 +0100
From: Ingo Molnar <mingo@...e.hu>
To: Jeremy Fitzhardinge <jeremy@...p.org>
Cc: Arjan van de Ven <arjan@...radead.org>, akpm@...l.org, ak@...e.de,
linux-kernel@...r.kernel.org, Michael.Fetterman@...cam.ac.uk,
Ian Campbell <Ian.Campbell@...Source.com>
Subject: Re: i386 PDA patches use of %gs
* Jeremy Fitzhardinge <jeremy@...p.org> wrote:
> Ingo Molnar wrote:
> > but it does not actually use the 'normal usermode TLS selector' - it
> > only loads it.
> >
> > a meaningful test would be to allocate two selector values and load and
> > read+write memory through both of them.
> >
>
> Well, obviously in one case it would need to switch between
> null/non-null/null. But yes, good point about using the "usermode"
> %gs each iteration. I'll do some more tests.
i'd not even use glibc's %gs but set up two separate selectors. (that's
a more controlled experiment - someone might run a non-TLS glibc, etc.)
Ingo
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists