Method and apparatus of unloading out of memory processing flow to user space
US10417062B2 · kind B2 · utility
Assignee
Inventors
Key dates
| Filing date | Sep 29, 2016 |
| Grant date | Sep 17, 2019 |
| Priority date | — |
| Expiry date | Dec 9, 2036 |
Classification
- Technology area (CPC G)Physics
- CPC primaryG06F9/545
- WIPO fieldComputer technology
- WIPO sectorElectrical engineering
Abstract
The present application discloses a method and apparatus of unloading an out of memory (OOM) processing flow to a user space. A specific implementation of the method includes: writing related information of an OOM event into a memory page shared by a user space and a kernel space when a process triggers the OOM event, the related information comprising: an identification of the process and a path of a memory resource control sub-system where the process exists; acquiring, by an OOM service process of the user space, the related information of the OOM event through the memory page; and processing, by the OOM service process of the user space, the OOM event using the related information of the OOM event. The implementation implements unloading of an OOM processing in a kernel state to a user state for execution, and the whole OOM processing process is handed over to a user state process for implementation, which reduces the complexity of execution of the OOM processing, and is conducive to adjustment of OOM processing strategies and upgrade and replacement of services.
Source: USPTO / EPO open patent data. Objective bibliographic and citation counts.