Unlock instant, AI-driven research and patent intelligence for your innovation.

Inter-thread interrupt signal sending method and device

A technology for interrupting signals and sending methods, used in the computer field

Active Publication Date: 2022-07-22
ALIPAY (HANGZHOU) INFORMATION TECH CO LTD
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] Under the Host Kernel, the CPU can use IPI to send interrupt signals between hardware threads, but in some application scenarios, IPI cannot be used to send interrupt signals between hardware threads.

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
  • Inter-thread interrupt signal sending method and device
  • Inter-thread interrupt signal sending method and device
  • Inter-thread interrupt signal sending method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0033] The subject matter described herein will now be discussed with reference to example implementations. It should be understood that these embodiments are discussed only to enable those skilled in the art to better understand and implement the subject matter described herein, and not to limit the scope of protection, applicability, or examples set forth in the claims. Changes may be made in the function and arrangement of elements discussed without departing from the scope of the description. Various examples may omit, substitute, or add various procedures or components as desired. For example, the methods described may be performed in an order different from that described, and various steps may be added, omitted, or combined. Additionally, features described with respect to some examples may also be combined in other examples.

[0034] As used herein, the term "including" and variations thereof represent open-ended terms meaning "including but not limited to". The ter...

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 embodiments of this specification provide a method and apparatus for sending an interrupt signal between threads. In the method for sending an interrupt signal between threads, the processor where the first thread is located sends a notification message to a PCI device via a PCI bus through an MMIO write operation. The MMIO write operation is implemented based on the virtual space address of the first thread mapped by the memory address of the MMIO memory of the PCI device. In response to receiving the notification message, the PCI device generates an interrupt signal intended for the second thread, and sends the interrupt signal to the processor where the second thread is located according to the interrupt signal transmission mode configured by the interrupt configuration information of the PCI device. The interrupt configuration information of the PCI device is configured in advance according to the state information of the second thread, and the state information of the second thread includes the running state of the second thread and whether the second thread is running.

Description

technical field [0001] The embodiments of the present specification generally relate to the field of computer technology, and in particular, to a method and apparatus for sending an interrupt signal between threads. Background technique [0002] Interrupts of multi-core and multi-threaded processors can be controlled by a programmable interrupt controller (Programmable Interrupt Controller, PIC). PIC allows a hardware thread to interrupt other hardware threads, which is called Inter-Processor Interrupts (IPI). The PIC has a 32-bit inter-core interrupt register IPIBase, which stores the number of the target thread, the interrupt vector, and the interrupt type (whether to interrupt multiple hardware threads). An inter-core interrupt can be generated by writing the desired value to the inter-core interrupt register IPIBase. If hardware thread A wants to send an inter-core interrupt to hardware thread B, it only needs to write the thread ID, interrupt vector, interrupt type an...

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/48
CPCG06F9/4812G06F9/52G06F9/54G06F9/4825
Inventor 谈鉴锋别体伟周介龙
Owner ALIPAY (HANGZHOU) INFORMATION TECH CO LTD