Mail Archives: djgpp-workers/1998/05/26/19:58:39
> On Mon, 25 May 1998, Nate Eldredge wrote:
> > How about his other idea, that the page below the end of the stack be unmapped?
>
> I don't recall the particulars. How should this work, since what's below
> the stack is usually the locked stack used for exception processing? How
> do you unmap that and still get everything to work?
I suggested the last page aligned page in the stack be unmapped. In the worst
case that would result in 8K less stack. It would not catch all errors - since
a huge allocation might potentially step over the "dead" area and do
irreversible corruption. It would also result in dreaded "page fault" errors
which might be difficult to diagnose (we might have to add some AI to register
dumps to look at esp/ebp for hints?).
- Raw text -