Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Kernel soft deadlock processing method and device, equipment and storage medium

A processing method and deadlock technology, applied in the computer field, can solve the problems of reducing the user experience, inability to execute other processes, CPU occupation, etc., and achieve the effect of improving the user experience.

Pending Publication Date: 2022-02-01
LANGCHAO ELECTRONIC INFORMATION IND CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

During the operation of the OS, due to various reasons, Soft lockup (kernel soft deadlock) may occur. Soft lockup means that the CPU is occupied by the kernel code so that other processes cannot be executed, that is, it hangs. In this case The next program and any operation of the user cannot be carried out, and it is in a dead state, which reduces the customer's sense of experience

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 soft deadlock processing method and device, equipment and storage medium
  • Kernel soft deadlock processing method and device, equipment and storage medium
  • Kernel soft deadlock processing method and device, equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0038] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments It is only some embodiments of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0039] In the prior art, during the operation of the OS, soft lockup (kernel soft deadlock) may occur due to various reasons. Soft lockup means that the CPU is occupied by the kernel code so that other processes cannot be executed, that is, the situation of hanging , In this case, the program and any operation of the user cannot be performed,...

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 soft deadlock processing method and device, equipment and a storage medium. The method comprises the following steps of distributing a watchdog thread for each CPU (Central Processing Unit), and judging whether an operating system operated by the CPU has kernel soft deadlock or not according to the watchdog thread; if the kernel soft deadlock exists, determining a target process for triggering the kernel soft deadlock, and calling non-maskable interrupt; and reducing the priority of the target process by using the non-maskable interrupt, so that the operating system processes the kernel soft deadlock by re-running the watchdog thread. Whether kernel soft deadlock occurs in the operating system or not is detected through the watchdog thread, if it is detected that kernel soft deadlock occurs, the priority of the target process triggering the kernel soft deadlock is lowered after the non-maskable interrupt is called, and therefore the operating system processes the kernel soft deadlock by running the watchdog thread again. According to the method, the problem of soft deadlock of the kernel in operation of the operating system is automatically repaired, and the use experience of a user is improved.

Description

technical field [0001] The invention relates to the technical field of computers, in particular to a kernel soft deadlock processing method, device, equipment and storage medium. Background technique [0002] OS (Operating System, operating system) is a computer program that manages computer hardware and software resources. The operating system needs to handle things such as managing and configuring memory, determining the priority of supply and demand of system resources, controlling input devices and output devices, operating networks and managing file systems. It is the basic program of the computer system. During the operation of the OS, due to various reasons, Soft lockup (kernel soft deadlock) may occur. Soft lockup means that the CPU is occupied by the kernel code so that other processes cannot be executed, that is, it hangs. In this case The download program and any operation of the user cannot be performed, and it is in a dead state, which reduces the customer expe...

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): G06F9/52
CPCG06F9/524
Inventor 张国磊
Owner LANGCHAO ELECTRONIC INFORMATION IND CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products