Method for improving utilization rate of large pages of operating system
An operating system and utilization technology, applied in multi-programming devices, resource allocation and other directions, can solve the problems of not meeting the requirements of large page alignment, low utilization rate of large pages, etc., to reduce the number of page fault interrupts and improve performance , the effect of improving program performance
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Example Embodiment
[0040] The following describes how to implement large page optimization on the Linux operating system. This method is based on Linux kernel version 3.6.3, the modification of glibc is based on glibc-2.17, and is suitable for machines with 64-bit x86 architecture. This method is a concrete example of implementing huge page optimization.
[0041] Modify the data structure mm_struct that records the virtual address space of the process, add the member variable long allocate_brk in the structure, and record the top position of the heap where the virtual address has been allocated by the process. The value is set to 0 when the process virtual address space is initialized.
[0042] In Linux systems, the include / linux / mm_types.h file defines data structures related to memory, including mm_struct. The kernel / fork.c file in the Linux system implements the related functions of the new process. The mm_struct structure will be initialized in the mm_init function. Add the statement mm->a...
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.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap