From owner-freebsd-current@FreeBSD.ORG Tue May 29 00:55:15 2007 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2777016A50B; Tue, 29 May 2007 00:55:15 +0000 (UTC) (envelope-from Tor.Egge@cvsup.no.freebsd.org) Received: from pil.idi.ntnu.no (pil.idi.ntnu.no [129.241.107.93]) by mx1.freebsd.org (Postfix) with ESMTP id 9392613C45E; Tue, 29 May 2007 00:55:14 +0000 (UTC) (envelope-from Tor.Egge@cvsup.no.freebsd.org) Received: from cvsup.no.freebsd.org (c2h5oh.idi.ntnu.no [129.241.103.69]) by pil.idi.ntnu.no (8.13.6/8.13.1) with ESMTP id l4T0t4Zh003502 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Tue, 29 May 2007 02:55:04 +0200 (MEST) Received: from localhost (localhost [127.0.0.1]) by cvsup.no.freebsd.org (8.13.4/8.13.4) with ESMTP id l4T0sxAv098649; Tue, 29 May 2007 00:54:59 GMT (envelope-from Tor.Egge@cvsup.no.freebsd.org) Date: Tue, 29 May 2007 00:54:58 +0000 (UTC) Message-Id: <20070529.005458.74657868.Tor.Egge@cvsup.no.freebsd.org> To: attilio@freebsd.org From: Tor Egge In-Reply-To: <3bbf2fe10705281553n49ed5408qde560f53931b7d71@mail.gmail.com> References: <20070528.162023.41711345.Tor.Egge@cvsup.no.freebsd.org> <465B4450.90800@FreeBSD.org> <3bbf2fe10705281553n49ed5408qde560f53931b7d71@mail.gmail.com> X-Mailer: Mew version 3.3 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Scanned-By: mimedefang.idi.ntnu.no, using CLAMD X-SMTP-From: Sender=, Relay/Client=c2h5oh.idi.ntnu.no [129.241.103.69], EHLO=cvsup.no.freebsd.org X-Scanned-By: MIMEDefang 2.48 on 129.241.107.38 X-Scanned-By: mimedefang.idi.ntnu.no, using MIMEDefang 2.48 with local filter 16.42-idi X-Filter-Time: 1 seconds Cc: jroberson@chesapeake.net, current@freebsd.org Subject: Re: Panic on -CURRENT after LDT changes X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 May 2007 00:55:15 -0000 > Tor, > I've updated the patch. Can you please redownload it and test/review: > http://users.gufi.org/~rookie/works/patches/schedlock/ldt2.diff Looking at the diff between the old ldt2.diff and the new ldt2.diff, the change seems reasonable. i386_ldt_grow() has another problem if multiple processes share a user LDT. The old ldt is freed while still referenced by the CPUs. This might cause problems, e.g. with threaded linux binaries. - Tor Egge