zCore icon indicating copy to clipboard operation
zCore copied to clipboard

Recover naive VMO implementation

Open wangrunji0408 opened this issue 5 years ago • 0 comments

To achieve efficient copy-on-write, current VMOPaged implementation uses an ingenious data structure, which introduced complexity and endless bugs.

For example, an early version(e0ea3b0) can steadily run Zircon to shell in libos. But now it will trigger SIGFAULT or SIGBUS (#52). Even on bare-metal, sometimes there are mysterious memory errors. These bugs are difficult to fix and impact the functionality.

So for simplicity and stability, I'd like to restore the historical version of VMOPaged. Current version will not be affected and we will continue to maintain them.

wangrunji0408 avatar Jun 24 '20 03:06 wangrunji0408