🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.amiga.tech
Article #10655

Re: EXEC stack usage on task switch

#10655
From: Matt Dillon
Date: Tue, 20 Dec 1988 21:52
14 lines
1064 bytes
	Re: Dale's note on even more stack being required for a task using
the 68881 .. right, I realized that might happen, so the LWP stuff now
has a global variable which holds the amount of extra stack needed (defaulting
to 96+8[+3 for LW align] bytes.  Any program which uses or might use the
68881 can up the value.  The idea is to NOT have to hard program the ForkLWP()
calls dependant on what EXEC does with a poor task's stack.

	BTW, if you get a stack overflow due to EXEC in a task switch, which
screws up memory below the allocated stack, it usually crashes the machine
so thouroughly that my poor A1000 asks for KickStart on reboot!


						-Matt
Technical Details
Message-ID: <8812202152.AA06853@postgres.Berkeley.EDU>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!mailrus!ames!pasteur!agate!ucbvax!POSTGRES.BERKELEY.EDU!dillon

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!mailrus!ames!pasteur!agate!ucbvax!POSTGRES.BERKELEY.EDU!dillon
From: dillon@POSTGRES.BERKELEY.EDU (Matt Dillon)
Newsgroups: comp.sys.amiga.tech
Subject: Re: EXEC stack usage on task switch
Message-ID: <8812202152.AA06853@postgres.Berkeley.EDU>
Date: 20 Dec 88 21:52:50 GMT
Sender: daemon@ucbvax.BERKELEY.EDU
Lines: 14