Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 18 Aug 2002 10:31:20 -0700 (PDT)
From:      Julian Elischer <julian@elischer.org>
To:        Ian Dowse <iedowse@maths.tcd.ie>
Cc:        Bruce Evans <bde@zeta.org.au>, arch@FreeBSD.ORG
Subject:   Re: Solving the stack gap issue 
Message-ID:  <Pine.BSF.4.21.0208181024530.35342-100000@InterJet.elischer.org>
In-Reply-To: <200208181751.aa29455@salmon.maths.tcd.ie>

next in thread | previous in thread | raw e-mail | index | archive | help


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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0208181024530.35342-100000>