Kernel-module memory management method for preventing memory leaks and multiple memory releases
A kernel module and memory leak technology, applied in the direction of memory address/allocation/relocation, etc., can solve problems such as limited system busyness, inability to completely solve memory, leaks, etc., to prevent the release of invalid memory, meet kernel availability, The effect of preventing memory leaks
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0035] like Figure 4 As shown, the implementation steps of the kernel module memory management method for preventing memory leaks and multiple releases of memory in the embodiment of the present invention are as follows:
[0036] 1) Establishing a record array for recording the memory allocation record of the kernel module;
[0037] 2) When the kernel module requests the system to allocate memory, add a memory allocation record associated with the allocated memory to the record array;
[0038] 3) When the kernel module requests the system to release the memory, search the memory allocation record associated with the memory to be released in the record array, if there is an associated memory allocation record, perform memory release, and delete the memory allocation record;
[0039] 4) When the kernel module exits, scan the record array, if there is still a memory allocation record in the record array, release its associated memory one by one according to the memory allocatio...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com