diff options
author | 2007-10-15 23:33:36 +0000 | |
---|---|---|
committer | 2007-10-15 23:33:36 +0000 | |
commit | 7b4888459d773be7257a72debe10b0e84f4c80f3 (patch) | |
tree | 591c77b392e837d8b36b689b387f00c375e39cb6 | |
parent | Resync 2.6.20 patches with RedHat's 2936.fc7 kernel. Add highpte fix and remo... (diff) | |
download | xen-7b4888459d773be7257a72debe10b0e84f4c80f3.tar.gz xen-7b4888459d773be7257a72debe10b0e84f4c80f3.tar.bz2 xen-7b4888459d773be7257a72debe10b0e84f4c80f3.zip |
Add tls warning update to 2.6.18
svn path=/patches/; revision=57
-rw-r--r-- | trunk/2.6.18/00000_README | 3 | ||||
-rw-r--r-- | trunk/2.6.18/50009_gentooify-tls-warning.patch | 16 |
2 files changed, 19 insertions, 0 deletions
diff --git a/trunk/2.6.18/00000_README b/trunk/2.6.18/00000_README index 756a4ca..96c5473 100644 --- a/trunk/2.6.18/00000_README +++ b/trunk/2.6.18/00000_README @@ -215,3 +215,6 @@ Patches 50002_always-enable-xen-genapic.patch Compile fix for non-SMP (UP) kernels. Since UP support is broken in upstream Xen I'm not sure if I trust it or not. :-P + +50009_gentooify-tls-warning.patch + Change tls warning instructions to apply directly to Gentoo. diff --git a/trunk/2.6.18/50009_gentooify-tls-warning.patch b/trunk/2.6.18/50009_gentooify-tls-warning.patch new file mode 100644 index 0000000..3c3db12 --- /dev/null +++ b/trunk/2.6.18/50009_gentooify-tls-warning.patch @@ -0,0 +1,16 @@ +--- linux-2.6.20-xen-r6.orig/arch/i386/kernel/fixup.c 2007-10-15 16:07:58.000000000 -0700 ++++ linux-2.6.20-xen-r6/arch/i386/kernel/fixup.c 2007-10-15 16:15:01.000000000 -0700 +@@ -60,10 +60,9 @@ + DP("** WARNING: Currently emulating unsupported memory accesses **"); + DP("** in /lib/tls glibc libraries. The emulation is **"); + DP("** slow. To ensure full performance you should **"); +- DP("** install a 'xen-friendly' (nosegneg) version of **"); +- DP("** the library, or disable tls support by executing **"); +- DP("** the following as root: **"); +- DP("** mv /lib/tls /lib/tls.disabled **"); ++ DP("** add -mno-tls-direct-seg-refs to your CFLAGS and **"); ++ DP("** re-emerge glibc and any staticly linked programs **"); ++ DP("** or emerge -e world to catch everything. **"); + DP("** Offending process: %-38.38s **", info); + DP("***************************************************************"); + DP("***************************************************************"); |