Unlock instant, AI-driven research and patent intelligence for your innovation.

Memory access method and computer system

A computer system and memory technology, applied in the computer field, can solve problems such as accessing illegal addresses, crashes, and uneven application quality levels

Active Publication Date: 2015-12-16
XFUSION DIGITAL TECH CO LTD
View PDF5 Cites 9 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

For example, some low-quality third-party software (such as drivers, feature modules, etc.) may cause page faults in the kernel state due to illegal access to memory, access to illegal addresses, etc., and eventually cause system crashes and crashes
For example, in the field of mobile phones and other terminals, due to the uneven quality of developed applications, it often leads to flashbacks, system restarts, etc.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Memory access method and computer system
  • Memory access method and computer system
  • Memory access method and computer system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0033] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts shall fall within the protection scope of the present invention.

[0034] In order to facilitate the understanding of the embodiments of the present invention, several elements introduced in the embodiments of the present invention are firstly introduced:

[0035] Page: Physical memory page, the size of a page under the x86 architecture is 4KB;

[0036] Page table; provides a mechanism for virtual address to physical address translation;

[0037] Kernel mode / user mode: Threads running at the kernel level have privileged ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The present invention discloses a memory access method and a computer system. A peer mapping area of a kernel mode comprises a first peer mapping sub-area and a second peer mapping sub-area, wherein the first peer mapping sub-area and the second peer mapping sub-area have different page tables, and an original system task and an original kernel task use a virtual address of the first peer mapping sub-area to access a physical memory. The method comprises: when a being-monitored kernel task using a virtual address of the second peer mapping sub-area to make a request to access the corresponding physical memory, determining whether conversion of the page table is normal according to a present-bit in the page table of the second peer mapping sub-area; under the condition that the page table is abnormally converted, triggering abnormity of a missing page, and carrying out a processing procedure of the abnormity of the missing page; and and under the condition that the page table is normally converted, accessing the physical memory. Embodiments of the present invention can avoid an influence caused by unauthorized access of the kernel mode memory, so that the system reliability is improved, and the frequency of system crash is effectively reduced.

Description

technical field [0001] The invention relates to the field of computers, in particular to a method for accessing memory and a computer system. Background technique [0002] Reliability, Availability, Serviceability (RAS for short) feature is an important feature of a high-end server at present. According to statistics, one minute of downtime will cause the industry to lose tens or even millions of dollars. Therefore, the high reliability of the system is a very important indicator. For example, when the reliability indicator is 99.999%, it means that after one year Downtime does not exceed 5 minutes. [0003] If the business only involves the user mode, illegal memory access will generally cause a segment fault (segmentfault) to terminate the program, which only affects the business itself and will not interfere with the kernel mode. Currently, the kernel's pagefault mechanism can detect illegal accesses caused by page faults in user mode. [0004] The memory at the kernel...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F12/02
Inventor 裘稀石郭志滨
Owner XFUSION DIGITAL TECH CO LTD