Invention Grant
- Patent Title: Method and apparatus of unloading out of memory processing flow to user space
-
Application No.: US15280122Application Date: 2016-09-29
-
Publication No.: US10417062B2Publication Date: 2019-09-17
- Inventor: Linsi Yuan , Baisheng Wang , Dong Sun , Zhiyong Li
- Applicant: BEIJING BAIDU NETCOM SCIENCE AND TECHNOLOGY CO., LTD.
- Applicant Address: CN Beijing
- Assignee: Beijing Baidu Netcom Science and Technology Co., Ltd.
- Current Assignee: Beijing Baidu Netcom Science and Technology Co., Ltd.
- Current Assignee Address: CN Beijing
- Agency: Seed IP Law Group LLP
- Priority: CN201610320045 20160513
- Main IPC: G06F9/54
- IPC: G06F9/54 ; G06F9/48 ; G06F3/06

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.
Public/Granted literature
- US20170329655A1 METHOD AND APPARATUS OF UNLOADING OUT OF MEMORY PROCESSING FLOW TO USER SPACE Public/Granted day:2017-11-16
Information query