Skip site navigation (1)Skip section navigation (2)
Date:       Tue, 20 Jun 2000 19:58:52 +1000
From:      Peter Jeremy <peter.jeremy@alcatel.com.au>
To:        Arun Sharma <adsharma@sharmas.dhs.org>
Cc:        arch@FreeBSD.ORG
Subject:   Re: Preemptive kernel on older X86 hardware
Message-ID:  <00Jun21.062522est.115222@border.alcanet.com.au>
In-Reply-To: <20000601223101.A17391@sharmas.dhs.org>; from adsharma@sharmas.dhs.org on Fri, Jun 02, 2000 at 03:31:46PM %2B1000
References:  <200005250208.TAA78220@apollo.backplane.com> <82645.959243483@localhost> <20000601223101.A17391@sharmas.dhs.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Digging up some old e-mail...

On Fri, Jun 02, 2000 at 03:31:46PM +1000, Arun Sharma wrote:
>And self modifying code also isn't exactly cheap either on that
>architecture.

My understanding of the proposal is that the lock reference would be
compiled as a function call and some padding.  The first time that
the code is executed, it will be updated in-place with the optimum
code for the UP/SMP/processor configuration.  This first execution
_is_ quite expensive - function call, code update and various
cache flushes - but subsequent executions are optimal inline code.

Peter


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?00Jun21.062522est.115222>