Implementation method for general register reservation recovery

A general-purpose register and implementation method technology, applied in register devices, instruments, inter-program communication, etc., can solve the problem of incomplete general-purpose register retention and other issues

Active Publication Date: 2021-03-23
JIANGNAN INST OF COMPUTING TECH
View PDF2 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The purpose of the present invention is to provide a method for realizing general register reservation and recovery, which solves the problem of incomplete general register reservation

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
  • Implementation method for general register reservation recovery
  • Implementation method for general register reservation recovery

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0021] In the description of this patent, it should be noted that the term "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inside", "outside", etc. The orientation or positional relationship indicated is based on the orientation or positional relationship shown in the drawings, is merely intended to describe the present invention and simplified description, rather than indicating or implying that the device or component must have a specific orientation. Construction and operation, it is not understood to be limited to the present invention; the term "first", "second", "third" is only used for the purpose, and cannot be understood as an indication or implies relative importance; in addition, unless otherwise Clear specified and limited, the term "installation", "connected", "connection" should be broadly understood, for example, may be a fixed connection, or a detachable connection, or integrally connected; can be mechanically connected, or Electrical connec...

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 method for realizing retention and recovery of a universal register. The process retention method comprises the following steps: enabling a user process to call a system callioctl function; setting a process flag retention / recovery flag bit in the ioctl function; switching a kernel mode to a user mode, and entering judgment on a reservation / recovery flag bit according toa linux signal processing mechanism; if the reservation / recovery flag bit exists, entering a do_work_pending processing function; and storing all the general registers $0-$29 on the kernel stack intoa file or a specified memory by the do_work_pending processing function; according to the process recovery method, the first three steps are the same as the steps of the process retention method, andthe process recovery method also comprises the steps: switching a kernel mode to a user mode, and entering the judgment on a retention / recovery flag bit according to a linux signal processing mechanism; if the reservation / recovery flag bit exists, entering the do_work_pending processing function; and recovering a file or a universal register $0-$29 stored in a specified memory to the kernel stackin the do_work_pending processing function, and returning a user state by the user process after the do_work_pending processing function exits. The problem that a general register is not completely reserved is solved.

Description

Technical field [0001] The present invention relates to a method of implementing a universal register retained recovery, belonging to the technical field of domestic Siwei multi-core server operating system. Background technique [0002] In high performance calculations, due to the average running time of large application topics often exceed the effective stability of the high performance computer group (HPC) system, the user's large-scale application topics need to be fault tolerant using checkpoint technology. System-level retention recovery is a transparent checkpoint technology, which involves an important technical point is the system-level retention recovery of the process. The system-level retention recovery of the process is that the user process enters the operating system in the operating system through a specific system call interface, and the user's recovery process is in the file, and the user recovery process passes a specific system. The call interface enters the ...

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): G06F11/14G06F9/30G06F9/54
CPCG06F11/1428G06F9/30098G06F9/545
Inventor 黄高阳郑岩王星焱林海南刘松邹通
Owner JIANGNAN INST OF COMPUTING TECH
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