Kernel code soft fault tolerance method for hardware unrecoverable memory faults

A code and kernel technology, applied in the field of kernel code soft fault tolerance for hardware non-recoverable memory faults, can solve the problems of kernel code running, affecting the normal operation of the system, affecting the stability and reliability of the computer system, etc., so as to reduce memory errors. possibility, solve positioning difficulties, improve the effect of stability

Active Publication Date: 2012-06-20
KYLIN CORP
View PDF5 Cites 11 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The operating system kernel code is one of the most frequently run codes in the computer system. Errors in the kernel code will affect the normal operation of the entire system. Due to the

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
  • Kernel code soft fault tolerance method for hardware unrecoverable memory faults
  • Kernel code soft fault tolerance method for hardware unrecoverable memory faults
  • Kernel code soft fault tolerance method for hardware unrecoverable memory faults

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0037] The implementation steps of the kernel code soft fault-tolerant method for hardware non-recoverable memory failure in the embodiment of the present invention are as follows:

[0038] 1) When the operating system loads the kernel code into the physical memory, mark the kernel code as the main code, set multiple code copies for each kernel code and load the code copy into the physical memory;

[0039] 2) When the operating system is running, if the memory where the kernel code is located encounters a memory exception, locate the error kernel page of the current main code, compare the code of the error kernel page with the code copy corresponding to the current main code, and if it is determined to be the error kernel If an error occurs in the code of the page, the operation of the computer is suspended, the kernel code page table of the wrong kernel page is modified, a normal code copy is selected from the code copies corresponding to the current main code to replace the c...

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 invention discloses a kernel code soft fault tolerance method for hardware unrecoverable memory faults. The method comprises the following implementation steps of: 1) when an operating system loads the kernel codes to a physical memory, marking the kernel codes as main codes, setting multiple code copies for each segment of kernel codes, and loading the copies into the physical memory; 2) when the operating system runs, if the memory of the kernel codes is in memory exceptions, locating an error kernel page of the current main codes, comparing the error kernel page codes with the code copies, if errors of the codes of the error kernel page is determined, suspending the running of a computer, modifying a kernel code page table of the error kernel page, selecting a regular code copy from the code copies corresponding to the current main codes to substitute the current main codes, and then, keeping on running the computer. The method can improve the running stability of the operating system, enhance the reliability of a kernel module, reducing the possibility of error in the memory and reducing the interference of memory fault on the running of the operating system.

Description

technical field [0001] The invention relates to a fault-tolerant method when operating system kernel codes are running, in particular to a fault-tolerant method for alleviating the influence of hardware non-recoverable memory faults on the running stability of the operating system itself through software. Background technique [0002] Since the appearance of the first computer in 1946, the computer system has been using the Von Neumann structure for storing instructions. Under the von Neumann structure, instructions are stored in memory as data, and the processor fetches instructions from memory and decodes and executes them one by one. After entering the post-CMOS era, due to the continuous increase in transistor density in chips, memory soft errors (single event updates, SEUs) caused by chip aging and radioactivity are increasing, which can easily lead to memory failures that store instructions , it is very likely to cause serious logic errors with disastrous consequences...

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
IPC IPC(8): G06F11/14
Inventor 秦莹刘晓建戴华东吴庆波孔金珠颜跃进
Owner KYLIN CORP
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products