Process migration method and migratable operating system
An operating system and process technology, applied in the computer field, can solve a large amount of system overhead and other problems, achieve the effect of reducing system overhead and improving performance
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0077] figure 1 It is a flow chart of Embodiment 1 of the process migration method of the present invention, and the method is applicable to process migration between kernels in a multi-kernel operating system, especially process migration between a failed kernel and a normal kernel. Each core in a multi-core operating system can access memory spaces corresponding to other cores, and processes cannot run across multiple cores. The method in this embodiment can be executed by a portable operating system, such as figure 1 As shown, the method may include:
[0078] S101. Maintain process-related information of processes in all cores in a global information table stored on at least one core of the multi-core operating system.
[0079] In a multi-core operating system, the operating system allocates memory space for each core as local memory, and each core manages the processes running in the local memory, and other cores can access the local memory, but processes cannot run acro...
Embodiment 2
[0095] figure 2 It is a flow chart of Embodiment 2 of the process migration method of the present invention. On the basis of the above embodiments, this embodiment further, as follows figure 2 As shown, the method may also include the following steps:
[0096] S201. Each kernel locally creates the system-wide data information table and the system-wide status information table when the operating system is started.
[0097] S202. Each core sends the core number, the global descriptor table entry and the global descriptor table size to other cores, so as to update the system-wide state information tables of other cores.
[0098] When the operating system starts, each kernel locally builds the system-wide data information table and the system-wide status information table, and sends the kernel location, kernel access mode, kernel number, GDT entry and GDT size to other kernels, and other kernels receive The information of each core is stored in the corresponding position of the ...
Embodiment 3
[0104] image 3 It is a flow chart of Embodiment 3 of the process migration method of the present invention. This embodiment is based on the above embodiments, as follows image 3 As shown, the monitoring whether a trigger condition for process migration is generated may include:
[0105] S301. Each core sends a message to other cores.
[0106] S302. Each kernel determines a kernel that does not return a response within a set time as a failed kernel, and the determined failed kernel serves as a trigger condition for generating a process migration.
[0107] Specifically, in order to monitor whether the kernel in the operating system fails in real time and thus perform process migration, each kernel can send a message to other kernels, and after receiving the message, other kernels return a response message to each kernel within a set time, so as to It indicates that the kernel is in a normal working state. If no response message is returned within the set time, the kernel is ...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com