From owner-freebsd-threads@FreeBSD.ORG Thu Apr 10 22:04:19 2003 Return-Path: Delivered-To: freebsd-threads@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B129237B40C for ; Thu, 10 Apr 2003 22:04:19 -0700 (PDT) Received: from exchhz01.viatech.com.cn (ip-167-164-97-218.anlai.com [218.97.164.167]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4FB6343FB1 for ; Thu, 10 Apr 2003 22:04:16 -0700 (PDT) (envelope-from davidxu@freebsd.org) Received: from davidw2k (ip-240-1-168-192.rev.dyxnet.com [192.168.1.240]) by exchhz01.viatech.com.cn with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2650.21) id HLDQPZJN; Fri, 11 Apr 2003 12:50:38 +0800 Message-ID: <008001c2ffe8$056584f0$f001a8c0@davidw2k> From: "David Xu" To: References: <20030410201305.0537337B401@hub.freebsd.org> Date: Fri, 11 Apr 2003 13:05:50 +0800 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4807.1700 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300 Subject: patch for %gs saving X-BeenThere: freebsd-threads@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Threading on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Apr 2003 05:04:20 -0000 Here is the patch for kernel to save %gs, it works well on my machine. http://people.freebsd.org/~davidxu/i386_gs.diff Daniel, is this the reason in your libpthread patch that doesn't use getcontext syscall ? David Xu