Re: Stacks, was Segments

Liste des GroupesRevenir à c arch 
Sujet : Re: Stacks, was Segments
De : mitchalsup (at) *nospam* aol.com (MitchAlsup1)
Groupes : comp.arch
Date : 20. Jan 2025, 23:05:10
Autres entêtes
Organisation : Rocksolid Light
Message-ID : <43e21bd0bddea1733cd672c07a6319d4@www.novabbs.org>
References : 1 2 3 4 5 6 7 8 9 10
User-Agent : Rocksolid Light
On Mon, 20 Jan 2025 11:12:54 +0000, Waldek Hebisch wrote:

Michael S <already5chosen@yahoo.com> wrote:
On Sun, 19 Jan 2025 18:28:40 +0000
mitchalsup@aol.com (MitchAlsup1) wrote:
>
>
In My 66000 the code cannot read/write that other stack with LD and ST
instructions. It can only be accessed by ENTER (stores) and EXIT
(LDs). The mapping PTE is marked RWE = 000.
>
So, while you can still overrun buffers, you cannot damage the call/
return stack or the preserved registers !!
>
Not that I am a specialist in GC, but according to my understanding
the most common and the best performing variants of GC can not work
without read access to preserved registers. Compacting collector seems
to need write access as well.
As to return addresses, I would think that read access to stack of
return addresses is necessary for exception handling.
>
_Correctness_ of GC depends on ability to see preserved registers
and return address: return address may be the only live reference
to some function and similarly for preserved registers.  On could
try to work around lack of access using separate software-managed
stack duplicating data from "hardware" stack, but that is ugly
and is likely to kill any performance advantage from hardware
features.
>
BTW, the same holds for debuggers and exception handling.  Those
clearly need some way to go around hardware limitations.
Yes, there is a way to do all those things, but I am not in a position
to discuss due to USPTO rules.
It is like there is a privilege level between application and GuestOS.
{{I spent all afternoon trying to think of a name for this privilege
above application "non-privileged" and below "privileged". Maybe
meso-privileged ?!?
I/O works similarly--in that to the application a page may be marked
RWE=001 (execute only) but the swap disk is allowed to read or write
those pages.

Date Sujet#  Auteur
5 Jan 25 * Re: 80286 protected mode134Waldek Hebisch
6 Jan 25 `* Re: 80286 protected mode133George Neuner
6 Jan 25  +- Segments (was: 80286 protected mode)130Anton Ertl
6 Jan 25  `* Re: what's a segment, 80286 protected mode2John Levine
7 Jan 25   `- Re: what's a segment, 80286 protected mode1Lynn Wheeler

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal