Approach for de-fragmenting physical memory by grouping kernel pages together based on large pages
Abstract
An approach for de-fragmenting physical memory generally involves grouping kernel pages together based on large pages. The de-fragmentation procedure is triggered, such as by a kernel page-freelist being empty. The first user page from a user page-freelist is selected, marked as a kernel page (e.g., by setting a P_KERNEL bit), added to the kernel page-freelist, and then the large page in which the selected page is identified. Starting with the first small page within the large page, the small pages are processed by the de-fragmentation procedure, resulting in as many small pages as possible being marked as kernel pages and then added to the kernel page-freelist. Later, when a large page is coalesced, the number of kernel pages that must be relocated within the large page being coalesced is reduced or eliminated as a result of the de-fragmentation of the physical memory.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 40 · Forward citations: 12.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A machine-readable storage medium storing instructions for managing a physical memory, comprising: identifying, in the physical memory, a first large page comprising a first user page, a second user page, and an original kernel page, wherein the first large page is a contiguous region in the physical memory; selecting, from a user page-freelist, the first user page of the first large page; changing a first indicator for the first user page to designate that the first user page is changed to a first kernel page; moving the first kernel page to a kernel page-freelist; selecting, from the first l
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (12 of 12 total)
References Cited — Backward Prior Art (40)
Non-Patent Literature (5)
- "Solaris 10 What's New," Sun Microsystems 4150 Network Circle, Santa Clara CA 95054, USA, PartNo. 817-0547-18, May 2006, pp. 1-162 (162 pages).
- Armstrong et al., "Advanced Virtualization Capabilities of POWERS Systems", Sep. 2005, 15 pages.
- Corsi, CS372 class notes 11-13 from www.cs.utexas.edu/users/lorenzo/corsi/cs372/03F/notes/11-13.pdf, Nov. 21, 2003, 5 pages.
- Gibbs et al., "Advanced POWER Virtualization on IBM eServer p5 Servers", Nov. 2005, 432 pages.
- IP.COM, "Mechanism for Dynamic Registering and Notifying Hypervisor Clients of Updates to High-Use Translation Control Entries", Aug. 2004, 3 pages.