From owner-freebsd-hackers Mon Apr 30 16:41:17 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from meow.osd.bsdi.com (meow.osd.bsdi.com [204.216.28.88]) by hub.freebsd.org (Postfix) with ESMTP id 4F17A37B424 for ; Mon, 30 Apr 2001 16:41:15 -0700 (PDT) (envelope-from jhb@FreeBSD.org) Received: from laptop.baldwin.cx (john@jhb-laptop.osd.bsdi.com [204.216.28.241]) by meow.osd.bsdi.com (8.11.2/8.11.2) with ESMTP id f3UNf1G82366 for ; Mon, 30 Apr 2001 16:41:01 -0700 (PDT) (envelope-from jhb@FreeBSD.org) Message-ID: X-Mailer: XFMail 1.4.0 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 Date: Mon, 30 Apr 2001 16:40:24 -0700 (PDT) From: John Baldwin To: hackers@FreeBSD.org Subject: Patch to lock LDT and TSS's Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I've got a little patch to try to make accesses to the LDT and TSS of processes on the x86 thread safe. It relies partially on the fact that a TSS or LDT is only modified by the process it is attached to (with the exception of the LDT reference count for LDT's shared among processes). The patch can be found at http://www.FreeBSD.org/~jhb/patches/ldt.patch Please test and review. Thanks. -- John Baldwin -- http://www.FreeBSD.org/~jhb/ PGP Key: http://www.baldwin.cx/~john/pgpkey.asc "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message