[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#328183: libc6: Xen and TLS. Patch avaliable

Package: libc6
Version: 2.3.5-6
Severity: wishlist

It would be nice to some how include the following in libc6. This would
currently be arch specific to x68 and x68_64.

See http://wiki.xensource.com/xenwiki/XenSpecificGlibc

  Xen uses segmentation to provide protection of the memory used for the
  hypervisor. This results in some performance issues since wrap-around
  segments as used by glibc need expensive extra handling.

  It is possible to rebuild glibc so that it only uses segments such
  that there is no performance penalty. To do this, you need to apply
  the patch below to the glibc sources and then rebuild glibc with the
  -mno-tls-direct-seg-refs option.

Patch attached to wiki page above.

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.12-xenU
Locale: LANG=en_NZ, LC_CTYPE=en_NZ (charmap=ISO-8859-1)

-- no debconf information

Reply to: