Targeted memory pressure event notifications
First Claim
1. A method of managing memory, comprising:
- assigning priorities to processes running on a device;
responsive to a memory pressure event on the device exceeding a threshold level, determining that less than a threshold number of high priority processes are active on the device; and
responsive to determining that less than the threshold number of high priority processes are active on the device, sending a memory pressure event notification to an active process with the lowest priority, wherein the memory pressure event notification initiates a memory reclamation event,where the method is performed by one or more hardware processors.
1 Assignment
0 Petitions
Accused Products
Abstract
Systems, methods, and computer program products for target memory pressure event notifications are disclosed. Processes running on a device can register to receive memory pressure event notifications from a memory management system, which are sent while memory pages are being reclaimed. Active processes running on a device processor can be assigned a priority that ranges from low to high. Responsive to a memory pressure event occurring on the device, the memory management system determines whether less than a threshold number of high priority processes are active on the device. If so, the memory management system sends a memory pressure event notification to the registered process with the lowest priority among the active processes.
14 Citations
30 Claims
-
1. A method of managing memory, comprising:
-
assigning priorities to processes running on a device; responsive to a memory pressure event on the device exceeding a threshold level, determining that less than a threshold number of high priority processes are active on the device; and responsive to determining that less than the threshold number of high priority processes are active on the device, sending a memory pressure event notification to an active process with the lowest priority, wherein the memory pressure event notification initiates a memory reclamation event, where the method is performed by one or more hardware processors. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10)
-
-
11. A system of managing memory, comprising:
-
one or more processors; memory coupled to the one or more processors and having instructions, which, when executed by the one or more processors, causes the one or more processors to perform operations comprising; assigning priorities to processes running on a device; responsive to a memory pressure event on the device exceeding a threshold level, determining that less than a threshold number of high priority processes are active on the device; and responsive to the determining, sending a memory pressure event notification to an active process with the lowest priority, wherein the memory pressure event notification initiates a memory reclamation event. - View Dependent Claims (12, 13, 14, 15, 16, 17, 18, 19, 20)
-
-
21. A non-transitory computer-readable medium including one or more sequences of instructions which, when executed by one or more processes, causes:
-
assigning priorities to processes running on a device; responsive to a memory pressure event on the device exceeding a threshold level, determining that less than a threshold number of high priority processes are active on the device; and responsive to the determining, sending a memory pressure event notification to an active process with the lowest priority, wherein the memory pressure event notification initiates a memory reclamation event. - View Dependent Claims (22, 23, 24, 25, 26, 27, 28, 29, 30)
-
Specification