A linux kernel processing method and apparatus

A kind of kernel processing and kernel technology, applied in the direction of electrical digital data processing, instrumentation, calculation, etc., can solve the problem of low stability of Linux kernel operation, and achieve the effects of debugging, mitigating impact, and improving stability

Active Publication Date: 2019-01-04
ZHENGZHOU YUNHAI INFORMATION TECH CO LTD
View PDF7 Cites 8 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In order to solve the problem in the prior art that the running stability of the linux kernel is

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
  • A linux kernel processing method and apparatus
  • A linux kernel processing method and apparatus
  • A linux kernel processing method and apparatus

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0045] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiment of the application will be clearly and completely described below in conjunction with the accompanying drawings in the embodiment of the application. Obviously, the described embodiment is only It is a part of the embodiments of this application, not all of them. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the scope of protection of this application.

[0046] In the prior art, in the process of system development and device driver development, the code can be debugged. This is because the failure of the code will cause problems in the corresponding parts of the system, and the function cannot be realized at the slightest, and the entire system will be affected at the worst. of normal operation. Through debugging...

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

Embodiments of the present application disclose a linux kernel processing method and apparatus, the method comprising steps acquiring a non-maskable interrupt NMI, obtaining debugging information of the linux kernel in response to the interrupt, and/or executing a preset operation on the linux kernel in response to the interrupt. Since NMI is an interrupt that cannot be masked by the processor, the processor can still obtain NMI interrupt when system exception occurs due to code failure in kernel state. In response to NMI, the processor can obtain debug information of the linux kernel and/or perform preset operation on the linux kernel. Through analyzing the debugging information of Linux kernel, we can get the debugging mode of kernel state code, in order to realize the debugging of kernel state code, the kernel of linux can be adjusted by executing the preset operation on the kernel of linux, so as to alleviate the influence of code failure on the kernel of linux, facilitate the acquisition of debugging information and the debugging of kernel state code, and improve the stability of the kernel of linux.

Description

technical field [0001] The present application relates to the field of computer application technology, in particular to a method and device for processing a linux kernel. Background technique [0002] In the process of system development and device driver development, the code can be debugged. This is because the failure of the code will cause problems in the corresponding parts of the system. At least the functions cannot be realized, and at worst it will affect the normal operation of the entire system. Through debugging, you can modify the grammatical errors or logical errors of the code, so that the modified code can be put into use. [0003] During the development of subsystems and device drivers in the linux kernel, such as the development of memory or block devices, a fault in the kernel state code will cause an abnormality in the linux kernel, which will have a serious impact on the entire system, for example, it may cause The entire system is abnormal, down or stu...

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/36
CPCG06F11/362
Inventor 苑忠科
Owner ZHENGZHOU YUNHAI INFORMATION TECH CO LTD
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