Fork-safe memory allocation from memory-mapped files with anonymous memory behavior
Abstract
Methods and systems are provided for fork-safe memory allocation from memory-mapped files. A child process may be provided a memory mapping at a same virtual address as a parent process, but the memory mapping may map the virtual address to a different location within a file than for the parent process.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 10 · Forward citations: 6.
Claims (2 — 1 Independent, 1 Dependent)
- Claim 1Independent Claim
A system comprising: a memory comprising a mapping of a first portion of a memory-mapped file to a virtual address for a first process, wherein the memory-mapped file comprises virtual memory backed by a file; and a processor configured to: map a second portion of the memory-mapped file to the virtual address for a second process based on the second process being forked from the first process, wherein the first and second portions of the memory-mapped file are backed by the file; and write data from the first and second portions of the memory-mapped file to corresponding first and second porti
- Claim 2Depends on #1
The system of claim 1 , wherein the processor is configured to create a copy of data associated with the first portion of the memory-mapped file in response to a write to the virt
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 (10)
Non-Patent Literature (5)
- "hugetlbpage", dated Sep. 13, 2015, pp. 1-6, The Linux Kernel Archives, https://www.kernel.org/doc/Documentation/vm/hugetlbpage.txt.
- Anonymous, "Copy-on-write," dated Nov. 26, 2014, pp. 1-3, XP055288087, Retrieved from the Internet at URL: https://en.wikipedia.org/w/index.php?title=Copy-on-write&oldid=635508783.
- Anonymous, "Remote direct memory access," dated Dec. 30, 2014, pp. 1-2, XP055288069, Retrieved from the Internet at URL: https://en.wikipedia.org/w/index.php?title=Remote_direct_memory_access&oldid=640243457.
- Chao Wang et al., "NVMalloc: Exposing an Aggregate SSD as a Memory Partition in Extreme-Scale Machines", dated 2012, pp. 957-968, Parallel & Distributed Processing Symposium (IPDPS), 2012 IEEE 26th International, Shanghai.
- European Examination Report, dated Aug. 22, 2017, pp. 1-8, issued in European Patent Application No. 16 162 354.1, European Patent Office, Rijswijk, Netherlands.