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

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


  • To: <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • 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
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>
  • 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

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.