All of lore.kernel.org
 help / color / mirror / Atom feed
From: Michael Long <nikarul@gmail.com>
To: Ian Pratt <m+Ian.Pratt@cl.cam.ac.uk>
Cc: Nils Toedtmann <xen-devel@nils.toedtmann.net>,
	xen-devel <xen-devel@lists.xensource.com>
Subject: Re: glibc patch for TLS?
Date: Mon, 25 Apr 2005 18:51:40 -0500	[thread overview]
Message-ID: <95cbc48905042516517f772f9@mail.gmail.com> (raw)
In-Reply-To: <A95E2296287EAD4EB592B5DEEFCE0E9D1E3D4C@liverpoolst.ad.cl.cam.ac.uk>

That would be helpful, though the access still could be inside a
library, which would be a be pain to track down in say, Mozilla or
KDE.  Still, it's better than nothing.

  -Michael

On 4/25/05, Ian Pratt <m+Ian.Pratt@cl.cam.ac.uk> wrote:
> 
> 
> > Nope, that's what I forgot.  I recompiled the patched glibc
> > with that flag and everything seems to be working fine.  I
> > can post the ebuild if people are interested.  It's pretty
> > straightforward, just adding the patch and making for the
> > CFLAGS get set properly.
> >
> > I'm now compiling all my packages with
> > -mno-tls-direct-seg-refs.  Is this necessary/recommended?  I
> > know some ebuild strip out CFLAGS it's unsure of, so if it's
> > necessary other packages may need to be modified.
> 
> Glibc really hammers the thread local storage stuff and hence
> experiences rather more of a slow down rather than any applications
> we've come across, but it would obviously be preferable to recompile
> anything that uses tls.
> 
> One of the hard things is figuring out which applications actually make
> use of the thread local attribute, and hence would actually benefit from
> recompiling.
> 
> I guess we could modify the warning message to print out the name of the
> process that did the -ve segment access...
> 
> Ian
>

  reply	other threads:[~2005-04-25 23:51 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-04-25 20:57 glibc patch for TLS? Ian Pratt
2005-04-25 23:51 ` Michael Long [this message]
2005-04-26 11:32   ` Måns Rullgård
2005-04-26  7:28 ` Nils Toedtmann
2005-04-26 14:53   ` Michael Long
  -- strict thread matches above, loose matches on Subject: below --
2005-04-24  9:07 Ian Pratt
2005-04-25 16:47 ` Michael Long
2005-04-26  2:01   ` Edward Middleton
2005-04-21  5:28 Michael Long
2005-04-21 11:31 ` Nils Toedtmann
2005-04-24  3:33   ` Michael Long

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=95cbc48905042516517f772f9@mail.gmail.com \
    --to=nikarul@gmail.com \
    --cc=m+Ian.Pratt@cl.cam.ac.uk \
    --cc=xen-devel@lists.xensource.com \
    --cc=xen-devel@nils.toedtmann.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.