OS/2 codes: How to emulate COPY-ON-WRITE #0 Prologue

Copy-On-Write is a feature to improve copy performance. That is, memory blocks share the same contents until copy operation to those blocks really occur.

By postponing copy-operations until it is needed really, it's possible to remove initial overheads of copy operation.

This was needed to implement mmap(). Espeically, MAP_PRIVATE. On Linux(http://man7.org/linux/man-pages/man2/mmap.2.html), copy-on-write feature is used. I thought it's not possible without kernel supports. However, Dave Yeo suggested DosAliasMem(). I thought it may be possible. I did implement such a feature.

A series of the following articles are records of implementing copy-on-write on OS/2.

댓글

이 블로그의 인기 게시물

토렌트: < 왕좌의 게임 > 시즌 1 ~ 시즌 8 완결편 마그넷

토렌트: < 스타워즈 > Ep.1 ~ Ep.6 마그넷

토렌트: NGC < 코스모스 > 우리말 더빙 전편(1편~13편) 마그넷