From owner-freebsd-threads@FreeBSD.ORG Wed Apr 30 08:27:34 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 776AD37B49F; Wed, 30 Apr 2003 08:27:34 -0700 (PDT) Received: from mail.pcnet.com (mail.pcnet.com [204.213.232.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 933BB43F3F; Wed, 30 Apr 2003 08:27:33 -0700 (PDT) (envelope-from eischen@pcnet1.pcnet.com) Received: from pcnet1.pcnet.com (localhost [127.0.0.1]) by mail.pcnet.com (8.12.8/8.12.1) with ESMTP id h3UFRWBg007308; Wed, 30 Apr 2003 11:27:32 -0400 (EDT) Received: from localhost (eischen@localhost)h3UFRWcF007305; Wed, 30 Apr 2003 11:27:32 -0400 (EDT) Date: Wed, 30 Apr 2003 11:27:32 -0400 (EDT) From: Daniel Eischen To: threads@freebsd.org Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: current@freebsd.org Subject: cvs commit: src/lib/libpthread/arch/i386/include pthread_md.h src/lib/libpthread/thread thr_create.c thr_init.c thr_kern.c thr_private.h (fwd) 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: Wed, 30 Apr 2003 15:27:34 -0000 This should fix the problem of knode crashing. Perhaps other problems too. ---------- Forwarded message ---------- Date: Wed, 30 Apr 2003 08:05:17 -0700 (PDT) From: Daniel Eischen To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/lib/libpthread/arch/i386/include pthread_md.h src/lib/libpthread/thread thr_create.c thr_init.c thr_kern.c thr_private.h deischen 2003/04/30 08:05:17 PDT FreeBSD src repository Modified files: lib/libpthread/arch/i386/include pthread_md.h lib/libpthread/thread thr_create.c thr_init.c thr_kern.c thr_private.h Log: Move the mailbox to the beginning of the thread and align the thread so that the context (SSE FPU state) is also aligned. Revision Changes Path 1.3 +3 -0 src/lib/libpthread/arch/i386/include/pthread_md.h 1.43 +3 -0 src/lib/libpthread/thread/thr_create.c 1.51 +3 -0 src/lib/libpthread/thread/thr_init.c 1.62 +9 -3 src/lib/libpthread/thread/thr_kern.c 1.85 +6 -4 src/lib/libpthread/thread/thr_private.h