🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.powerpc
Article #1876

Re: Ask yourself these before you choosing a 32bit OS...

#1876
From: scott goehring
Date: Fri, 01 Sep 1995 13:49
36 lines
2284 bytes
-----BEGIN PGP SIGNED MESSAGE-----

In article <tonyn-0109950144230001@tonyn.tiac.net>,
Tony Nelson <tonyn@tiac.net> wrote:

>On any CPU, interrupt processing requires a context switch (also required
>for preemption and system services).  In the old days, this required
>simply the amount of time the CPU required to start the interrupt (and
>finish it later) plus the instructions in the interrupt handler.

a context switch is not necessary to service an interrupt; all that is
necessary is a partial context save.  many OSes service interrupts in
the kernel half of the currently running processes.  since ISRs are
not supposed to reference per-process information, the currently
running processes is irrelevant while servicing an interrupt.

most small processors use a single system-wide real memory cache
(rather than caching based on virtual address), so an interrupt
doesn't force a cache-clear, and actually if the interrupt is common
its ISR is likely to already be in the cache.  an interrupt, on most
processors, is not a mandatory cache flush.  the only case where a
context switch mandates a cache flush is when the cache is storing
virtual addresses (instead of physical).  and since a properly-written
ISR doesn't reference per-process virtual space, it's not necessary to
flush the virtual address translation cache.


-----BEGIN PGP SIGNATURE-----
Version: 2.6.2

iQCVAwUBMEcPYBbgfSHT/piVAQEJKgP/TQUXa7GDdIyt82INnpv896ABDyDUpDo3
Vy6XFMjsm/bjGuTBPK8jC7fDJJs9TeDwcmtR8/ZJna8XoMwOTizvebfp3L3gYE0r
Fe6mjbJVjxN1XogHlioToeMwFgl4PUbhmSgfaEeLrsPPfWwHLiayMTos2mLRTt/x
+I4MH47X4cU=
=JU2q
-----END PGP SIGNATURE-----
Technical Details
Message-ID: <42730m$5gq@usenet.ucs.indiana.edu>
Path: arc1-ca.pugleaf.net!usenet.ucs.indiana.edu!sgoehrin
References: <3vh2hc$9dd@falcon.ccs.uwo.ca> <41itqp$4ij@usenet.ucs.indiana.edu> <id.69WM1.S73@nmti.com> <tonyn-0109950144230001@tonyn.tiac.net>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!usenet.ucs.indiana.edu!sgoehrin
From: sgoehrin@copper.ucs.indiana.edu (scott goehring)
Newsgroups: comp.sys.powerpc,comp.os.linux.advocacy,comp.sys.mac.advocacy,comp.os.os2.advocacy,comp.sys.amiga.advocacy,comp.sys.intel,alt.2600,comp.os.ms-windows.advocacy
Subject: Re: Ask yourself these before you choosing a 32bit OS...
Date: 1 Sep 1995 13:49:10 GMT
Organization: none!
Message-ID: <42730m$5gq@usenet.ucs.indiana.edu>
References: <3vh2hc$9dd@falcon.ccs.uwo.ca> <41itqp$4ij@usenet.ucs.indiana.edu> <id.69WM1.S73@nmti.com> <tonyn-0109950144230001@tonyn.tiac.net>
NNTP-Posting-Host: copper.ucs.indiana.edu