I thought we were talking about memory management
Now, I have a simple way, so no virtual memory management.
The original question was:
Quote:
What options besides a bitmap or a stack based approach are common in Operating Systems to store which physcial pages are free or not?
I'm replying on
that question...
Quote:
And how will it keep working when you'll have several address spaces ?
I don't know sure what you're talking about, but let me give a try.
The "main" (which the kernel use) page tables covers the whole memory. So, this could be use, IMHO, as a normal way of managing your memory.
I'm not talking about virtual mem. management, I have to think about this!
Then there's process management (which I think IMO you're talking about).
How about creating a new pagedirs with pagetables an placing it at a 4k boundary ?
And those pagetables are referring to the app.
I hope I made myself clear. If I didn't ask me
DennisCGc.