Kernel and application cooperative memory management
AssigneeRed Hat, Inc.
InventorsHenri Han van Riel, Matthias Clasen
Life of this patent
Estimating the term…
Loading patent…
AssigneeRed Hat, Inc.
InventorsHenri Han van Riel, Matthias Clasen
Estimating the term…
Embodiments of the present invention provide a mechanism for an operating system and applications to cooperate in memory management. Applications register with the operating system for cooperative memory management. The operating system monitors the memory and determines a memory “pressure” related to the amount of demand for the memory. As the memory pressure increases, the operating system provides a memory pressure signal as feedback to the registered applications. The operating system may send this signal to indicate it is about to commence evicting pages from the memory or when it has commenced swapping out application data. In response to the signal, the registered applications may evaluate the memory pressure, determine which data should be freed, if any, and provide this information back to the operating system. The operating system may then free those portions of memory relinquished by the applications. By releasing data the system may thus avoid swapping and increase its performance.
A method for an application to cooperate in memory management, said method comprising:
A method for an application to cooperate with an operating system, wherein the operating system provides the application a virtual memory, and wherein the operating system maps at least a portion of the virtual memory to a physical memory, said method comprising:
A method for an application to cooperate with an operating system, wherein the operating system provides the application a virtual memory, and wherein the operating system maps at least a portion of the virtual memory to a physical memory, said method comprising:
Dependencies are inferred from the claim text.