From owner-freebsd-arch Sun Aug 18 10:40:15 2002 Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8B05F37B400 for ; Sun, 18 Aug 2002 10:40:13 -0700 (PDT) Received: from rwcrmhc52.attbi.com (rwcrmhc52.attbi.com [216.148.227.88]) by mx1.FreeBSD.org (Postfix) with ESMTP id 257BF43E65 for ; Sun, 18 Aug 2002 10:40:13 -0700 (PDT) (envelope-from julian@elischer.org) Received: from InterJet.elischer.org ([12.232.206.8]) by rwcrmhc52.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20020818174012.SSNU1186.rwcrmhc52.attbi.com@InterJet.elischer.org>; Sun, 18 Aug 2002 17:40:12 +0000 Received: from localhost (localhost.elischer.org [127.0.0.1]) by InterJet.elischer.org (8.9.1a/8.9.1) with ESMTP id KAA41959; Sun, 18 Aug 2002 10:31:21 -0700 (PDT) Date: Sun, 18 Aug 2002 10:31:20 -0700 (PDT) From: Julian Elischer To: Ian Dowse Cc: Bruce Evans , arch@FreeBSD.ORG Subject: Re: Solving the stack gap issue In-Reply-To: <200208181751.aa29455@salmon.maths.tcd.ie> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sun, 18 Aug 2002, Ian Dowse wrote: > > If there is agreement on the td vs. curthread issue, then that would > obviously be easy to change. A few days ago, Peter gave some comments as to the expense of using curthread. I must admit this is something where some architectureal guidance would be a good thing.... maybe something like "Use a local if you need to access a Per-cpu variable more than twice in a function", and "passing a thread pointer as an argument (is/is not) preferable to calling curtread explicitly in the child function". Julian To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message