Closed chessmaster42 closed 12 years ago
couldn't this be done by having a function that wraps page_alloc and page_reserve to use a another parameter?
PS: yes i'll do it myself
What happens when the length of the code is equal to or just under a full page? wouldn't the applications stack start overwriting the code?
Yeah, I've been thinking about that same issue with the stack. Not sure what the best way is. I'm thinking that if we give a stack size of 128 it should be sufficient. So if the program's last page of data is > 1024-128 then we allocate another page.
that sounds pretty reasonable.
Placeholder issue to track the progress on allowing memory allocations beyond 1024 words.