Patent ID: 11934321
Assignee: GOOGLE LLC
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 17:
18. A computing system comprising:
main memory; and
one or more processors operatively coupled to the main memory, the one or more processors being configured to implement a method for memory management using a pager by:
in a virtual address space having a kernel space and a user space distinct from the kernel space, assignment of separate virtual addresses to individual processes in the user space, wherein the individual processes include at least one file system, and the at least one file system is configured to read from and write to a persistent storage device separate from main memory of the computing system;
creation of one or more virtual memory objects in the user space that are backed by a user space pager service, each virtual memory object including one or more pages representing a file associated with information maintained in the persistent storage device, the user space pager service employing the pager to manage reading from and writing to the persistent storage device;
population, by the pager using data retrieved from the persistent storage device, at least one of the one or more pages for a given one of the virtual memory objects;
upon population of the one or more pages, set a state of the given virtual memory object to a clean state;
upon writing to the one or more pages, set the state of the given virtual memory object to a dirty state;
upon initiation of writing back from the one or more pages to the persistent storage device, set the state of the given virtual memory object to an awaiting clean state; and
upon ending the writing back from the one or more pages to the persistent storage device, set the state of the given virtual memory object to the clean state.