WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] [PATCH] fix problem of fast syscall on 2.6 kerne with libc2.

To: <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] [PATCH] fix problem of fast syscall on 2.6 kerne with libc2.3.3 tls
From: "Ling, Xiaofeng" <xiaofeng.ling@xxxxxxxxx>
Date: Sat, 11 Jun 2005 00:13:03 +0800
Delivery-date: Fri, 10 Jun 2005 16:12:18 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcVsBnu4OWxlKYl6SH+X9nLmegsYmQBzklfg
Thread-topic: [PATCH] fix problem of fast syscall on 2.6 kerne with libc2.3.3 tls
Currently, run a 2.6 kernel with Redhat-FC2 file system, that has /lib/tls 
enabled,
any command will fail with a segment fault.
This is dur to the kernel using sysenter as fast syscall in vmx domain and 
there are three msr
need to save and restore when do scheduling.


Signed-off-by: Xiaofeng Ling <xiaofeng.ling@xxxxxxxxx>
                Chengyuan Li <chengyuan.li@xxxxxxxxx>

 arch/x86/vmx.c             |   47 ++++++++++++++++++++++++++++++++++++++++-----
 include/asm-x86/vmx_vmcs.h |    3 ++
 2 files changed, 45 insertions(+), 5 deletions(-)

Attachment: tls-msr.patch
Description: tls-msr.patch

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] [PATCH] fix problem of fast syscall on 2.6 kerne with libc2.3.3 tls, Ling, Xiaofeng <=