Method and system for mapping data to a process
Abstract
The invention relates to mapping data to a process. A method of the invention includes receiving a request to copy a parent process, where the parent process is associated with a first virtual memory address space that includes a first mapping to a page of a file loaded into physical memory. The method includes creating a child process (of the parent process) associated with a second virtual memory address space. The method includes determining that a fork count is greater than a fork count threshold and a COW count to fork count ratio is greater than a threshold ratio. The fork count is associated with the file and the COW count is associated with the page. The method includes creating a copy of the page in physical memory and further includes creating a second mapping from the second virtual memory address space to the copy of the page.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 1 · Forward citations: 6.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method for mapping data to a process, comprising: receiving a first request to copy a first parent process, wherein the first parent process is associated with a first virtual memory address space, wherein the first virtual memory address space comprises a first mapping to a first page of a file loaded into physical memory and, wherein the first page is associated with a reference count and a copy-on-write (COW) count; creating a first child process during a first fork operation performed using the first parent process, wherein the first child process is associated with a second virtual memo
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (6 of 6 total)
References Cited — Backward Prior Art (1)
| Patent | Title | Year | Citations |
|---|---|---|---|
| US 4,812,981 A | Memory management system improving the efficiency of fork operations | 1989 | 39 |
Non-Patent Literature (2)
- Gingell, Robert A., Moran, Joseph P., Shannon, William A.; Sun Microsystems, Inc.; in Proceedings of USENIX Summer Conference, "Virtual Memory Architecture in SunOS", Mountain View, California; Phoenix, AR, USA, Jun. 1987, pp. 1-14.
- Moran, Joseph P., Sun Microsystems, Inc., In Proceedings of the Spring 1988 European UNIX Users Group Conference, "SunOS Virtual Memory Implementation", Mountain View, California, Apr. 11-15, 1988, the Queen Elizabeth Conference Centre, London; pp. 1-17.