Realization method and device of central processing unit hot swap

A technology of a central processing unit and an implementation method, which is applied in the field of communication and can solve the problems of switching, starting the target CPU, etc.

Active Publication Date: 2017-03-15
HUAWEI TECH CO LTD +1
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Therefore, the existing technology only realizes the Hot Plug of the CPU in the Primary operating system, and the Secondary operating system instance cannot automatically switch the CPU in the system resource pool from the real mode to the protected mode, and thus cannot start the target CPU during the running process. That is, the Hot Plug of the CPU cannot be implemented in the Secondary OS instance

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
  • Realization method and device of central processing unit hot swap
  • Realization method and device of central processing unit hot swap
  • Realization method and device of central processing unit hot swap

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0072] 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 a part of 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.

[0073] figure 1 It is a flow chart of Embodiment 1 of the implementation method of CPU hot plugging in the present invention. This embodiment is applicable to a multiprocessor operating system having a Primary operating system instance and at least one Secondary operating system instance, and is applicable to a scenario where the Secondary o...

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 embodiment of the invention provides a CPU hot plug implementing method and device. The method comprises that a Primary operating system example configures hot plug initialization codes for a Secondary operating system example; the Primary operating system example sends IPI (inter-processor interrupt) to a target CPU to trigger the target CPU to perform hot plug initialization, wherein the hot plug initialization is an initialization process during which the target CPU is hot-plugged; the Primary operating system example detects whether the target CPU completes the hot plug initialization; if so, the Primary operating system example sends IPI to the Secondary operating system to enable the Secondary operating system example to perform hot plugging of the target CPU, and accordingly, to achieve CPU Hot Plug in the Secondary operating system.

Description

technical field [0001] The embodiments of the present invention relate to the communication field, and in particular, to a method and device for realizing hot swapping of a central processing unit. Background technique [0002] With the continuous development of computer technology, multiple cores (core) are deployed on a central processing unit (Central Processing Unit, CPU) to form a multi-core central processing unit with powerful processing capabilities, and a computer system including multiple multi-core processors is called A multiprocessor operating system. In a multi-processor operating system, the first operating system instance started is a primary (Primary) operating system instance, and one or more operating system instances started subsequently are called secondary (Secondary) operating system instances. When the secondary operating system instance needs to be run, it may be necessary to obtain the CPU from the primary operating system instance and start the CP...

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 Patents(China)
IPC IPC(8): G06F9/50G06F9/445
Inventor 薛栋梁解壁伟高云伟詹剑锋
Owner HUAWEI 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